table-layout

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

cells, rows, and columns.

Example

Initial value auto
Applies to table and inline-table elements

Syntax

  
table-layout: fixed;
  

Values

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

table-layout14121571

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

×