-ms-layout-flow Attribute | layoutFlow Property
Gets or sets the direction and flow of the content in the object.
Syntax
CSS { -ms-layout-flow : sFlow } Scripting [ sFlow = ] object.style.layoutFlow [ = sFlow ]
Possible Values
sFlow String that specifies or receives one of the following values.
- horizontal
- Default. Content in the object flows from left to right, and the next horizontal line is positioned underneath the previous line. This layout is used in most Roman-based documents.
vertical-ideographic- Content in the object flows from top to bottom, and the next vertical line appears to the left of the previous one. This layout is used in East Asian typography.
The property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has a default value of horizontal. The Microsoft Cascading Style Sheets (CSS) extension is inherited.
DHTML expressions can be used in place of the preceding value(s). As of Internet Explorer 8, expressions are supported in IE7 Standards mode and IE5 (Quirks) mode only. For more information, see About Dynamic Properties and Defining Document Compatibility.
Remarks
Windows Internet Explorer 8. The -ms-layout-flow attribute is an extension to CSS, and can be used as a synonym for layout-flow in IE8 Standards mode.
This is a deprecated property; use the writingMode property instead.
This property is read-only for the currentStyle object .
Example
Click the following button to view a demonstration of this property.
Code example: http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/layoutFlow.htm
Standards Information
There is no public standard that applies to this property.
Applies To
A, ABBR, ACRONYM, ADDRESS, B, BIG, BLOCKQUOTE, BUTTON, CAPTION, CENTER, CITE, CODE, CSSStyleDeclaration, currentStyle, CUSTOM, DD, DEL, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FONT, FORM, hn, HR, I, INPUT, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, ISINDEX, KBD, LABEL, LEGEND, LI, MARQUEE, MENU, OL, OPTION, P, PLAINTEXT, PRE, Q, RUBY, runtimeStyle, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, style, SUB, SUP, TD, TEXTAREA, TH, TT, U, UL, VAR, CSSCurrentStyleDeclaration Constructor, CSSRuleStyleDeclaration Constructor, CSSStyleDeclaration Constructor
See Also