Search within TutorialsPark

CSS table-layout Property

To specify the layout style of a table

Definition and Notes.

1. The CSS table-layout property controls how a web browser draws a table, using an automatic layout algorithm.

2. The value fixed forces the browser to display all the columns of same width as the first.While, the value auto creates a normal table.


CSS table-layout property. internetexplorer safari firefox opera chrome

View in Splitscreen»


Property Values

Value Description
auto Table expands to accommodate the widest element, its the default value.
fixed The width of each column is fixed.
inherit The value for table layout is inherited from the parent element


Specs Value
Name table-layout
Value auto | fixed
Initial Value auto
Applies to Elements with display value of table as inline-table
Javascript syntax"fixed"
Inherited No
Computed Value Same as declared Value
Browser Support internetexplorer safari firefox opera chrome

Related Examples.