CSS Property: table-layout
The algorithm with which a table should be drawn.
Applies to boxes set to display: table
(of which table
HTML elements are by default) or display: inline-table
.
Possible Values
Value | Description |
---|---|
fixed | For speed. Table and column widths are determined by the content of cells in the first row only. |
auto | For precision. Table and column widths are determined by the content of all of the cells in table. Default. |
inherit | |
initial | |
unset |
Example
table { table-layout: fixed; }