Javascript Reference
Categories: COL

javascript COL 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 content within cells covered by the col or colgroup element.

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

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

 
Default

left


Powered by Linode.