The table-layout CSS property sets the algorithm used to lay out

cells, rows, and columns.


Initial value auto
Applies to table and inline-table elements


table-layout: fixed;


By default, most browsers use an automatic table layout algorithm. The widths of the table and its cells are adjusted to fit the content.
Table and column widths are set by the widths of table and col elements or by the width of the first row of cells. Cells in subsequent rows do not affect column widths.

Browser support


We use cookies to improve your experience. Learn more in our Privacy policy.