javascript P align
@March 15, 2008, 1:22 a.m.
align | Firefox/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 |
Permanent URL:
http://javascript.gakaa.com/p-align.aspx
Powered by Linode.