O'Reilly logo

CSS Pocket Reference, 4th Edition by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

caption-side

Values:

top | bottom

Initial value:

top

Applies to:

Elements with a display of table-caption

Inherited:

Yes

Computed value:

Same as declared value

Description:

Defines 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.

Examples:

caption {caption-side: top;}

Note:

The values left and right appeared in CSS2 but were dropped from CSS2.1 because of a lack of widespread support. Some versions of Firefox support left and right.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required