table-layout | NN n/a IE 5(Win) CSS 2 |
Inherited: No | |
Determines whether the browser uses computed heights and widths of the entire table's data to begin rendering the table or relies on the table element's size attributes and uses the first row's cell widths to begin rendering table content. When the attribute is set to auto, the browser must load all of the table cells and their content before the first row of data can be rendered, causing a brief (but perhaps imperceptible) delay in drawing the table. Setting the value to fixed allows table rendering to begin sooner, which is helpful for large tables. If content in succeeding rows is wider than the fixed column size, the content is usually clipped unless you set the overflow style attribute to visible (but that will likely make a visual jumble in adjacent cells). |
|
CSS Syntax | |
table-layout: layoutType
|
|
Value | |
Two possible constant values: auto | fixed. |
|
Initial Value | |
auto |
|
Applies To | |
table elements. |