Javascript Reference
Categories: P

javascript P align

@March 15, 2008, 1:22 a.m.
alignFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

Determines how the paragraph text is justified within the p element's box.

 
Example
 
document.getElementById("myP").align = "center";
 
Value

Any of the three horizontal alignment string constants: center | left | right.

 
Default

left


Powered by Linode.