XML technologies / CSS / Advanced websites with CSS / CSS property reference / table-layout
(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)
The property table-layout describes how an HTML table is laid out. Besides the traditional calculation of a table as the sum of all its cells and borders, another method calculates only its first row and applies that result to all following rows. This lays out the table much faster, but its cells are no longer adjusted to their contents. Content may overflow.
Inherited: no
See also: max-height, min-height
Values
auto or fixed.
Default value: auto
Compatibility
CSS version: 2
Works in Internet Explorer for Windows from version 5 and in Opera 7.
Example
The following rule lays out tables of the class einfach using the faster method fixed:
table.einfach {
table-layout: fixed;
}
Copyright © 2006 of the German translation, dpunkt.verlag GmbH
You may print the online version for your private use.
Otherwise, this chapter from “CSS − Anspruchsvolle Websites mit Cascading Stylesheets” is subject to the same conditions as the bound edition: the work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
dpunkt.verlag GmbH, Ringstraße 19, 69115 Heidelberg