HomeReferencesCSS Properties

CSS Property: table-layout

Specifies the algorithm that should be used to render a fixed-width table. Not supported by IE/Win 5.0.

HTML Dog, The Book HTML Dog book cover

HTML Dog is hosted by Titan Internet

Possible Values

  • inherit
  • auto (default) - column widths are determined by the cells in all rows.
  • fixed - column widths is determined by the cells in the first row only. Table renders faster.

Example


table {
	width: 600px;
	table-layout: fixed;
}