javascript DIV align

alignNN 6 IE 4 DOM 1  

Read/Write  

Defines the horizontal alignment of content within the element's box. Unless otherwise reined in, the box width is that of the next outermost positioning contextusually the body.

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

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

 
Default

left


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