Javascript Reference
Categories: CAPTION

javascript CAPTION align

@July 28, 2009, 8:25 a.m.
align Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

 

Read/Write  

Determines the position of the caption in the table. The W3C DOM uses the align property predominantly for placing the caption above or below the table.

 
Example
 
document.getElementById("myCaption").align = "bottom";
 
Value

Any of the following constants (as a string): bottom | left | right | top.

 
Default

top


Powered by Linode.