Javascript Reference
Categories: STYLE

javascript STYLE writingMode

@March 15, 2008, 1:22 a.m.
writingModeFirefox/Netscape/NN n/a IE 5.5(Win) Chrome/Safari/DOM n/a  

Read/Write  

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

 
Example
 
document.getElementById("myDIV").style.writingMode = "lr-tb";
 
Value

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

 
Default

lr-tb


Powered by Linode.