XML technologies / CSS / Advanced websites with CSS / CSS property reference / caption-side
(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)
The property caption-side determines how a table caption defined by the HTML element caption is aligned.
Inherited: yes
Values
top, bottom, left or right.
Default value: top
Compatibility
CSS version: 2
Works in Internet Explorer 5 for Macintosh, Netscape 6 and later, and Mozilla. The values left and right are unsupported by most browsers.
Example
The following style rule positions the caption of a nested table below the table:
table table {
caption-side: bottom;
}
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