A container element which can contain any number of child elements. If the box
has an orient
attribute that is set to horizontal
, the child elements are laid out from left to right in the order that they appear in the box. If orient
is set to vertical
, the child elements are laid out from top to bottom. Child elements do not overlap. The default orientation is horizontal
.
More information is available in the XUL tutorial.
<box orient="horizontal"> <label value="Zero"/> <box orient="vertical"> <label value="One"/> <label value="Two"/> </box> <box orient="horizontal"> <label value="Three"/> <label value="Four"/> </box> </box>
Inherited from XUL element |
Inherited Properties |
vbox
, hbox