Javascript Reference
Categories: STYLE

javascript STYLE captionSide

@March 15, 2008, 1:22 a.m.
captionSideFirefox/Netscape/NN 6 IE 5(Mac) Chrome/Safari/DOM 2  

Read/Write  

Controls the location of a caption element (nested inside a table element) relative to the table's box.

 
Example
 
document.getElementById("myTable").style.captionSide = "bottom";
 
Value

Case-insensitive string of any of the following constants: bottom | left | right | top. Some browsers may be limited to only the bottom and top values.

 
Default

top


Powered by Linode.