javascript TD align

alignNN 6 IE 4 DOM 1  

Read/Write  

Defines the horizontal alignment of content within the cell.

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

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

 
Default

left


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