-ms-box-orient property
Do not use. This property has been replaced by the -ms-flex-direction property, and is no longer recognized by Windows Internet Explorer. To ensure compatibility in the future, applications using this property should be updated accordingly. Gets or sets a value that specifies the orientation in the layout of all child elements of the object.
This property is read/write.
![]() ![]() |
Syntax
-ms-box-orient: horizontal | vertical | inline-axis | block-axis | inherit
Property values
One of the following orientation values.
horizontal
Child elements are displayed in a horizontal line from left to right.vertical
Child elements are displayed in a vertical stack from top to bottom.inline-axis
Default. Child elements are displayed along the inline axis.block-axis
Child elements are displayed along the block axis.inherit
Child elements are displayed in the same orientation as the computed value of this property for the parent element.
CSS information
| Applies To | box elements |
| Media | visual |
| Inherited | no |
| Initial Value | inline-axis |
Standards information
- Flexible Box Layout Module, Section 2
See also
Send comments about this topic to Microsoft
Build date: 9/6/2012
.png)
.png)