javascript H1 align

align NN 6 IE 4 DOM 1  

 

Read/Write  

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

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

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

 
Default

left


909,Nickname,Homepage or email,Comments here,Add comment