Style tableLayout Property
Style tableLayout Property
The tableLayout property is used to either set or return the way in which we can layout table cells, rows, and columns.
Syntax:-
Its syntax is:- object.style.tableLayout OR object.style.tableLayout = auto | fixed | initial | inherit
Return:-
Its return is:- string having table layout algorithm used for a table
Further Explanation:-
Value | Description |
---|---|
auto | Column width is set by widest unbreakable content. |
fixed | Column width is set by width of table and columns and not content of cells. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |