This topic has not yet been rated - Rate this topic

-ms-block-progression Attribute | msBlockProgression Property

Gets or sets the block progression and layout orientation.

Syntax

CSS { -ms-block-progression : sValue }
Scripting [ sValue = ] object.style.msBlockProgression [ = sValue ]

Possible Values

sValue String that specifies or receives one of the following values.
tb
Default. Top-to-bottom block flow. Layout is horizontal.
rl
Right-to-left block flow. Layout is vertical.
bt
Bottom-to-top block flow. Layout is horizontal.
lr
Left-to-right block flow. Layout is vertical.

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 tb. The Microsoft Cascading Style Sheets (CSS) extension is not inherited.

Remarks

In vertical layout, text lines are rotated 90° clockwise. Images are not rotated, but tables are. Box layout in vertical orientations is exactly analogous to layout in the horizontal orientation: width, height, top, bottom, right, and left do not rotate with the text.

Only one block progression is active at a time; these values cannot be combined. See writingMode for additive block progression values.

This property is based on the block-progression property of the CSS3 Text Layout module.

Standards Information

This property is a Microsoft extension to CSS.

Applies To

A, ADDRESS, APPLET, B, BIG, BLOCKQUOTE, BUTTON, CENTER, CITE, CODE, CSSStyleDeclaration, currentStyle, CUSTOM, DD, defaults, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FORM, hn, HR, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, ISINDEX, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OBJECT, OL, P, PRE, RT, RUBY, runtimeStyle, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, style, SUB, SUP, TABLE, TEXTAREA, TT, U, UL, VAR, XMP, CSSCurrentStyleDeclaration Constructor, CSSRuleStyleDeclaration Constructor, CSSStyleDeclaration Constructor

See Also

direction
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ