javascript STYLE blockDirection

blockDirectionNN n/a IE 5(Win) DOM n/a  

Read-only  

Returns the writing script direction of the current element. Available as a property of the IE currentStyle object only.

 
Example
 
if (document.getElementById("myDIV").style.blockDirection = "rtl") {
    // process right-to-left text
}
 
Value

String constant values: ltr | rtl.

 
Default

ltr


1814,Nickname,Homepage or email,Comments here,Add comment