writing-modeNN n/a IE5.5(Win) CSS n/a

Inherited: Yes

Intended primarily for languages that display characters in vertical sentences, this controls the progression of content, left-to-right, or right-to-left.

 
CSS Syntax
 
writing-mode: direction
 
Value

One of the constant values: lr-tb | tb-rl. Value of tb-rl can rotate text of some languages by 90 degrees.

 
Initial Value

lr-tb

 
Applies To

All elements.

 
Object Model Reference
 
[window.]document.getElementById("elementID").style.writingMode