css 3

Icon

A comprehensive CSS 3 reference guide, tutorial, and blog
Are you a CSS expert? Want to contribute? Contact us

CSS CAPTION-SIDE

This property specifies the position of elements with an intrinsic (HTML CAPTION elements) or assigned ‘display’ property value of “table-caption” in relation to the table rendering box they are assigned to. Alignment within the table caption is accomplished using the ‘text-align’ and ‘vertical-align’ properties.

 

Example

caption { caption-side: right }

<caption style=”caption-side: right”>Caption</caption>

 

Possible Values

Value Description
inherit Explicitly sets the value of this property to that of the parent.
top The caption is positioned above the rendered table box.
bottom The caption is positioned below the rendered table box.
left The caption is positioned to the left of the rendered table box.
right The caption is positioned to the right of the rendered table box.

 

 

Leave a Reply

Pages

Sponsors


CSS3.com



Please help CSS3.com stay alive and running

Bad Behavior has blocked 2088 access attempts in the last 7 days.