Javascript Reference
Categories: STYLE

javascript STYLE tableLayout

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

Read/Write  

Acts as a switch at load time to direct the browser to start rendering the table based on column widths set by the first row, or wait until the table data is loaded so that the browser can calculate optimum column widths based on cell contents. Changes to this property have no effect on a rendered table.

 
Example
 
document.getElementById("myTable").style.tableLayout = "fixed";
 
Value

One of the following constants (as a string): auto | fixed.

 
Default

auto


Powered by Linode.