The table-layout property in CSS is used to display the layout of table.
- auto: It is used to set the automatic table layout on the browser. This property set the column width by unbreakable content in the cells.
- fixed: It is used to set a fixed table layout. The table and column widths are set by the widths of table and col or by the width of the first row of cells. Cells in other rows do not affect column widths. If no widths are present on the first row, the column widths are divided equally across the table according to content of table.
- initial: It is used to set its default value.
- inherit: It is used to inherit the property from its parent.
Supported Browsers: The browser supported by table-layout property are listed below:
- Google Chrome 14.0
- Internet Explorer 5.0
- Firefox 1.0
- Safari 1.0
- Opera 7.0
- HTML | DOM Style tableLayout Property
- CSS | transition-property Property
- CSS | nav-down property
- CSS | top Property
- CSS | nav-up property
- CSS | nav-right property
- CSS | all Property
- CSS | right Property
- CSS | min-height Property
- Web API | DOMRectReadOnly x property
- Web API | DOMRectReadOnly y property
- CSS | column-gap Property
- CSS | box-sizing Property
- CSS | fit-content() Property
- Web API | DOMRect top property
- Web API | DOMRect right property
- CSS | margin-right Property
- CSS | z-index Property
- CSS | height Property
- CSS | animation-name Property
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.