2 Layout and Positioning
2.1 The Box Layout System
View the remaining XUL1.0 box compliance issues in Bugzilla.
The box is one of the fundamental building blocks of XUL. Nearly all of the elements in XUL are boxes. Boxes are containers that define the layout of controls within a XUL document. Boxes lay out their children using a constraint-based system that supports both relative flexible sizing and intrinsic sizing.
In CSS, an inline box can be specified using the 'display' property with a value of inline-box. A block-level box can be specified with a value of box.
The 'float' property does not apply to children of box elements.
[Editor's Note: The following sections introduce new CSS properties that can be used with boxes. Because these properties are not yet part of any CSS standard, they are prefaced with '-moz-' in Mozilla. To use 'box-orient' in Mozilla, for example, you would actually type '-moz-box-orient'.]
No comments:
Post a Comment