Javascript Reference
Categories: STYLE

javascript STYLE textAlignLast

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

Read/Write  

Determines the horizontal alignment of the last line of text within an element's box. This style attribute may be helpful to obtain the desired look if you use some of the other proprietary text alignment style attributes in IE 5.5 or later for Windows.

 
Example
 
document.getElementById("myDIV").style.textAlignLast = "justify";
 
Value

One of the following constants (as a string): auto | center | justify | left | right.

 
Default

auto


Powered by Linode.