NOTICE: This website is no longer updated or supported - as such many of the techniques used to build it may seem antiquated in the modern day. It is preserved for historical reasons only.

HTML XHTML The Complete Reference
home » reference » appendix b » css1 / css2 properties

table-layout


This property controls the algorithm used to lay out the table cells, rows, and columns. A value of fixed uses the fixed table layout algorithm, which relays not the content of the cells but simply the width of the tables, columns, borders, and defined cell spacing. This should result in faster page rendering. The default value of auto uses the standard automatic table layout algorithm, which may require multiple passes or take perceptible time to calculate, particularly when the table is complex or heavily nested.

Example


table {table-layout: fixed;}

Browser and CSS Support Notes


CSS2
IE 5, 5.5, 6
Nav 6, 7
Opera 7

(X)HTML Elements
CSS Properties
Back: size Next: text-align
< Home | About | Chapters | Examples | Errata | Reference | Site Map >