Export (0) Print
Expand All
Expand Minimize

2.1.86 [CSS-Level2-2009] Section 17.5.2, Table width algorithms: the 'table-layout' property

V0164:

The specification states:

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 to auto is not supported. The tables will remain left-justified.

V0165:

The specification states:

‘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)

The inherit value of the table-layout property is not supported.

Show:
© 2014 Microsoft