# Property Description

The table-layout property sets the table layout algorithm to be used for a table.

# Property Values

Value | Description
--- | ---

auto

(default) Automatic table layout algorithm:

- The column width is set by the widest unbreakable content in the cells

fixed

Fixed table layout algorithm:

- The horizontal layout only depends on the table's width and the width of the columns, not the contents of the cells

inherit1 | Specifies that the value of the property should be inherited from the parent element

# Examples

This example sets the table layout algorithm to fixed.

    table {
      table-layout:fixed;
    }

# Browser Support

Firefox | IE | Chrome | Opera | Safari

1 - 'inherit' not supported by IE

# Miscellaneous Information

Inherited: | No
Defined In: | CSS2