Name
table-layout — NN n/a IE n/a CSS 2
Synopsis
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 delay in drawing
the table. Setting the value to fixed allows table
rendering to begin sooner, which is helpful for large tables.
CSS Syntax
table-layout: layoutTypeValue
Two possible constant values: auto |
fixed.
Initial Value
auto
Applies To
TABLE elements.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access