Name

caption-side

Synopsis

This specifies the placement of a table caption with respect to the table box. The caption is rendered as though it were a block-level element placed just before (or after) the table.

Values:

top | bottom

Initial value:

top

Applies to:

elements with the display value table-caption

Inherited:

yes

Computed value:

as specified

Note:

the values left and right appeared in CSS2 but were dropped from CSS2.1 due to a lack of widespread support

Get Cascading Style Sheets: The Definitive Guide, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.