HTML and CSS Reference
In-Depth Information
Name
table-layout
Values:
auto
|
fixed
Initial value:
auto
Applies to:
Elements with a
display
value of
table
or
inline-table
Inherited:
No
Computed value:
Same as declared value
Description:
Defines whether a table element should be laid out using an automatic layout algorithm or a
fixed-layout algorithm. The benefit of the automatic algorithm is that it's more like what au-
thors are used to from more than a decade of browser behavior. The fixed-layout algorithm is
theoretically faster and more predictable.
Examples:
table.data {table-display: fixed;}
table.directory {table-display: auto;}