Visit Mozilla.org

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.

[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.

[edit] See Also

direction, -moz-box-direction