CSS property: table-layout
The table-layout property specifies whether the column width is fixed or determined by the width of the content.
Property values
Value |
Description |
|---|---|
auto |
This value specifies that the width of the cell is adjusted to the content. For example, if a line of text is 40 pts in length, the cell is adjusted to a width of 40 pts plus any specified margin width. |
fixed |
This value specifies that the width of a cell is fixed to a specified width. For example, if a column is fixed to a width of 25 pts, any line of text that exceeds this length is broken and continued on a new line. |
inherit |
This value specifies that the element inherits the table-layout property value from the containing element. |