Javascript Reference
Categories: STYLE

javascript STYLE emptyCells

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

Read/Write  

When a table is set to render the separate cell box format (the default), and a border is established for td elements in that table, the emptyCells style property controls whether the table renders borders around cells that have no content.

 
Example
 
document.getElementById("myTable").style.emptyCells = "hide";
 
Value

String of allowable constant values: hide | show.

 
Default

show


Powered by Linode.