{"id":249476,"date":"2017-01-04T06:12:01","date_gmt":"2017-01-04T13:12:01","guid":{"rendered":"http:\/\/css-tricks.com\/?page_id=249476"},"modified":"2017-01-04T06:12:01","modified_gmt":"2017-01-04T13:12:01","slug":"table-layout","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/almanac\/properties\/t\/table-layout\/","title":{"rendered":"table-layout"},"content":{"rendered":"

The table-layout<\/code> property defines what algorithm the browser should use to lay out table rows, cells, and columns. <\/p>\n

<\/p>\n

table {\r\n  table-layout: fixed;\r\n}<\/code><\/pre>\n

As explained in the CSS2.1 specification<\/a>, table layout in general is usually a matter of taste and will vary depending on design choices. Browsers will, however, automatically apply certain constraints that will define how tables are laid out. This happens when the table-layout<\/code> property is set to auto<\/code> (the default). But these constraints can be lifted when table-layout<\/code> is set to fixed<\/code>.<\/p>\n

Values<\/h3>\n