CSS:-moz-box-orient
From MDC
« CSS « CSS Reference « CSS Reference:Mozilla Extensions
[edit] Summary
In Mozilla applications, -moz-box-orient specifies whether a box
lays out its contents horizontally or vertically.
For example, XUL box and hbox elements lay out their contents horizontally by default, but XUL vbox elements lay out their contents vertically by default.
- Initial value:
horizontal - Applies to: elements with a CSS
displayvalue of-moz-boxor-moz-inline-box - Inherited: no
- Percentages: n/a
- Media:
visual - Computed value: as specified
[edit] Syntax
-moz-box-orient:horizontal|vertical
[edit] Values
- horizontal
- The box lays out its contents horizontally.
- vertical
- The box lays out its contents vertically.
[edit] Examples
hbox.example {
-moz-box-orient: vertical; /* change the orientation */
}
[edit] Notes
If the orientation is set using the element's orient attribute, then the style is ignored.