CSS · Properties — CSS Table

table-layout

The CSS table-layout property. Initial value: auto. Not inherited.

Syntax
table-layout: auto | fixed

Example

Try it

Notes

Media: visual. Applies to: tableElements. Computed value: asSpecified.

More in this group

border-collapse border-spacing caption-side empty-cells

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course