Mozilla XUL Element and Script Reference

Contents  Quick Reference

Title

An element that can be used to add a caption on a titledbox. It is a type of box so any content may be placed inside it.

Attributes:

Attributes inherited from XUL Element


crop

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

orient

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

top

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

value

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

width

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