Extensible HyperText Markup Language

XHTML.com recommends: PSD to HTML Slicing Service

caption-side

Definition

The caption-side property specifies if the table caption should be rendered above or beneath the table. The screen shot below shows a table caption rendered above the table.

Screen shot of a Web browser showing a table with a table caption rendered above the table.

The screen shot below shows a caption rendered beneath the table.

Screen shot of a Web browser showing a table with a table caption rendered below the table.

Example

  1. caption {caption-side: bottom}

Characteristics

Possible values

top
Render table caption above the table.
bottom
Render table caption beneath the table.
inherit
Use the same computed value as the parent element for this property.

Default value

top

Applies to

Inherited

Yes