Cascading Style Sheets: Designing for the Web (3rd Edition)

The default position for the caption of a table is above the table, but with the caption-side property, you can cause it to be displayed below the table instead.

Name:

caption-side

Value:

top | bottom

Initial:

top

Applies to:

table-caption elements

Inherited:

yes

Percentages:

N/A

The rule to use is

CAPTION { caption-side: bottom }

Категории