Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
table-layout

Values:

auto | fixed

Initial value:

auto

Applies to:

Elements with a display value of table or inline-table

Inherited:

No

Computed value:

Same as declared value

Description:

Defines whether a table element should be laid out using an automatic layout algorithm or a fixed-layout algorithm. The benefit of the automatic algorithm is that it’s more like what authors are used to from more than a decade of browser behavior. The fixed-layout algorithm is theoretically faster and more predictable.

Examples:

table.data {table-display: fixed;}
table.directory {table-display: auto;}