Javascript Reference
Categories: HR

javascript HR align

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

Read/Write  

Defines the horizontal alignment of the element within its surrounding container.

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

Any of the three horizontal alignment constant strings: center | left | right.

 
Default

center


Powered by Linode.