Menu Home

table-layout

osbo.com | CSS | Properties | table-layout

The table-layout CSS property controls the algorithm used to lay out the table cells, rows, and columns.

Syntax

CSS

table-layout: value;

JS

object.style.tableLayout = "value";

Values

<'table-layout'> = auto | fixed
auto

Automatically specified by the user agent.

fixed

The content of its table-cells is ignored for the purpose of width computation.

Initial

auto

Examples

auto

fixed

JS

World Wide Web Consortium (W3C)