Home > Element Reference : Listcell

Contents

### Listcell

Moz0.9.9

A single cell of a listbox, used for cells which contain text only.

More information about Listcell

#### Attributes:

Attributes inherited from XUL Element

crop

If the label of the listcell is too small to fit in its given space, the text will be cropped on the side specified by the crop attribute. An ellipsis will be placed in place of the cropped text. If the box direction is right to left (rtl), the cropping is reversed.

- start: The text will be cropped on its left side.
- end: The text will be cropped on its right side.
- left: (Deprecated) The text will be cropped on its left side.
- right: (Deprecated) The text will be cropped on its right side.
- center: The text will be cropped on both sides.
- none: The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment.

label

The label that will appear on the listcell. If this is left out, no text appears.

type

You can make an item a checkbox by setting this attribute to the value 'checkbox'.

Copyright (C) 1999 - 2002 XULPlanet.com