caption-side

Specifies the position of a caption for the element.

Platform Support

IENetscapeMozillaOperaSafari
no6.0+1.0+6.0+1.0+
  • Mozilla: Only Mozilla supports the values "left" and "right".

Usage

[position-value]

Values

inheritInherit the value from the parent element.
topPosition the caption at the top of the element.
bottomPosition the caption at the bottom of the element.
leftPosition the caption at the left side of the element.
rightPosition the caption at the right side of the element.

Example

For a demonstration of the caption-side attribute, see the demo page on quirksmode:

http://www.quirksmode.org/css/tables.html#captionside

Availability

W3C CSS2

Related

text_css aptana_docs