CSS table-layout property

CSS table-layout

CSS table-layout is used to specify the layout of table cells, rows, columns.

Using this property, table renders much faster.

CSS table-layout property values are

  • auto : It is the default value. It adjust the width of table and its cell, to fit the contents.
  • fixed : Column widths are set by the value given in the <table> and <col> elements.


Try Yourself