The table-layout property controls the algorithm used to lay out the table cells, rows, and columns.

  • Initial valueauto
  • Applies toTable and inline-table elements
  • InheritedNo
  • MediaVisual
  • Computed valueAs specified
  • AnimatableNo
  • CSS VersionCSS2, CSS3
  • JavaScript
Formal syntax: auto | fixed | inherit

table-layout: auto;
table-layout: fixed;
  • autoUse any automatic table layout algorithm.
  • fixedUse the fixed table layout algorithm.
.class {
   table-layout: fixed;

Last updated on 26th March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.