Chapter 17 - Tables - 17.5.2 Table width algorithms: the 'table-layout' property
Go to the relevant page of the specification.
- table-layout-001 (ahem)
-
Table-layout set to 'auto'
Cell content width is taken into account in the used width of a table when the table has 'table-layout' set to 'auto'. - table-layout-002 (ahem)
-
Table-layout set to 'fixed'
Cell content width is not taken into account in the used width of a table when the table has 'table-layout' set to 'fixed'. - table-layout-003 (ahem)
-
Table-layout set to 'inherit'
A table can inherit its 'table-layout' behavior from its parent container. - table-layout-applies-to-001 (ahem)
-
Table-layout and 'display: inline' elements
Table-layout does not apply to 'display: inline' elements. - table-layout-applies-to-002 (ahem)
-
Table-layout and 'display: block' elements
Table-layout does not apply to 'display: block' elements. - table-layout-applies-to-003 (ahem)
-
Table-layout and 'display: list-item' elements
Table-layout does not apply to 'display: list-item' elements. - table-layout-applies-to-005 (ahem)
-
Table-layout and 'display: inline-block' elements
Table-layout does not apply to 'display: inline-block' elements. - table-layout-applies-to-006 (ahem)
-
Table-layout and 'display: table' elements
Table-layout applies to 'display: table' elements. - table-layout-applies-to-007 (ahem)
-
Table-layout and 'display: inline-table' elements
Table-layout applies to 'display: inline-table' elements. - table-layout-applies-to-008 (ahem)
-
Table-layout and 'display: table-row-group' elements
Table-layout does not apply to 'display: table-row-group' elements. - table-layout-applies-to-009 (ahem)
-
Table-layout and 'display: table-header-group' elements
Table-layout does not apply to 'display: table-header-group' elements. - table-layout-applies-to-010 (ahem)
-
Table-layout and 'display: table-footer-group' elements
Table-layout does not apply to 'display: table-footer-group' elements. - table-layout-applies-to-011 (ahem)
-
Table-layout and 'display: table-row' elements
Table-layout does not apply to 'display: table-row' elements. - table-layout-applies-to-012 (ahem)
-
Table-layout and 'display: table-column' elements
Table-layout does not apply to 'display: table-column' elements. - table-layout-applies-to-013 (ahem)
-
Table-layout and 'display: table-column-group' elements
Table-layout does not apply to 'display: table-column-group' elements. - table-layout-applies-to-014 (ahem)
-
Table-layout and 'display: table-cell' elements
Table-layout does not apply to 'display: table-cell' elements. - table-layout-applies-to-015 (ahem)
-
Table-layout and 'display: table-caption' elements
Table-layout does not apply to 'display: table-caption' elements. - table-layout-applies-to-016
-
Table-layout and 'display: none' elements
Table-layout does not apply to 'display: none' elements. - table-layout-applies-to-017 (ahem)
-
Table-layout and 'display: inherit' elements
Table-layout does not apply to 'display: inherit' elements which do not inherit the value of 'table'. - table-layout-inherited-001 (ahem)
-
Table-layout is not inherited by default
Table-layout is not inherited by default. - table-layout-initial-001 (ahem)
-
Initial value of table-layout
The initial value of table-layout is 'auto'. - table-layout-property-001
-
A table doesn't size to fit its container when margins are zero and width is 'auto'
When table margins are zero and width is 'auto', the table doesn't automatically size to fill its containing block . - table-layout-property-002
-
Centering a table in its containing block by setting its left and right margins to 'auto'
A table can be centered in its containing block by setting its left and right margins to 'auto'.