2.1.110 [CSS-Level2-2009] Section 17.5.2, Table width algorithms: the 'table-layout' property
If the margins of a table are set to '0' and the width to 'auto', the table will not automatically size to fill its containing block. However, once the calculated value of 'width' for the table is found (using the algorithms given below or, when appropriate, some other UA dependent algorithm) then the other parts of section 10.3 do apply. Therefore a table can be centered using left and right 'auto' margins, for instance.
Quirks Mode (All Versions)
Centering tables by setting the left and right margin values
auto is not supported. The tables will remain
‘table-layout' Value: auto | fixed | inherit Initial: auto Applies to: 'table' and 'inline-table' elements Inherited: no Percentages: N/A Media: visual Computed value: as specified
Quirks Mode and IE7 Mode (All Versions)
inherit value of the table-layout
property is not supported.