The table-layout property is used in CSS and certain HTML elements. It defines the algorithm to be used for the layout of table cells, rows, and columns.


  • inherit - Explicitly sets the value of this property to that of the parent.
  • auto - An automatic table layout algorithm is commonly used by most browsers for the table layout. The width of the table and its cells depends on the content itself.
  • fixed - 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.
Under the "fixed" layout method, the entire table can be rendered once the first table row has been downloaded and analyzed. This can speed up rendering time over the "automatic" layout method, but subsequent cell content may not fit in the column widths provided. Any cell that has content that overflows uses the overflow property to determine whether to clip the overflow content.

HTML example:

<table style="table-layout:auto;">

CSS example:

table {

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.