Javascript Reference
Categories: STYLE

javascript STYLE textJustify

@Aug. 15, 2009, 12:29 p.m.
textJustify Firefox/Netscape/NN n/a IE 5 Chrome/Safari/DOM n/a  

 

Read/Write  

Specifies detailed character distribution techniques for any block-level element that has a text-align CSS attribute or a textAlign style property set to justify.

 
Example
 
document.getElementById("inset").style.textJustify = "distribute-center-last";
 
Value

One of the following constants (as a string): auto | distribute | distribute-all-lines | distribute-center-last | inter-cluster | inter-ideograph | inter-word | kashdia | newspaper.  

 
Default

auto


Powered by Linode.