Mozilla XUL Element and Script Reference

Contents  Quick Reference

Separator

Creates a separator bar, much like the HTML hr element. It can be used in menus and trees for seapartor bars.

Attributes:

Attributes inherited from XUL Element


crop

If the label of the separator 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.

flex

Indicates the flexibility of the separator. Flexible elements grow and shrink to fit their given space. The actual value is not relevant unless there are other flexible elements with-in the same container. Elements with larger flex values will grow more than elements with lower flex values, at the ratio determined by the two elements.

height

The height of the separator in pixels. It is recommended to use the CSS height property instead.

left

For elements placed within a bulletinboard, specifies the position of the left edge of the separator.

orient

Used to specify whether the children of the separator element are oriented horizontally or vertically.

top

For elements placed within a bulletinboard, specifies the position of the top edge of the separator.

value

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

width

The width of the separator in pixels. It is recommended to use the CSS width property instead.