
The Complete Idiot's Style Sheets Reference
| Index
| Current Category: Tables |
| Previous Style: stress
| Next Style: text-align
|
table-layout
Specifies whether a table is rendered as "fixed" or as "automatic."
Support:
-
Notes:
- A fixed table layout means that the width of the table is determined in advance (that is, before any table content is loaded) solely by examining the values for the table width, column widths, borders, and cell spacing. This will supposedly speed up table rendering since the browser has less work to do in determining the table width.
- An automatic table layout means that the width of the table is determined only after the table content is loaded. This is how tables are rendered in regular HTML.
Possible Values:
- auto
The table is rendered using the automatic layout.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS2 and later |
Not supported |
Not supported |
- fixed
The table is rendered using the fixed layout.
-
Support:
-
W3C Standard | Internet Explorer | Netscape Navigator |
CSS2 and later |
Not supported |
Not supported |
Example:
<TABLE STYLE="table-layout: fixed">
| Index
| Current Category: Tables |
| Previous Style: stress
| Next Style: text-align
|
|