table-layout

Controls the algorithm used to lay out table cells, rows, and columns. 'Fixed' allows for faster rendering and consistent column widths based on the table's width.

It is documented as part of the CSS Table specification.

/* Usage Example */
.data-grid {
  table-layout: fixed;
  width: 100%;
  /* ensures columns stay consistent regardless of content amount */
}

/* Syntax */
table-layout: auto;
table-layout: fixed;

/* Global values */
table-layout: inherit;
table-layout: initial;
table-layout: revert;
table-layout: revert-layer;
table-layout: unset;
Widely available Since 2015 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.

14+
1+
1+
12+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC