HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

caption-side

Description

The caption-side property for CSS specifies the position of the caption box with respect to the table box.

Syntax

CSS

caption-side: value;

JS

object.style.captionSide = "value";

Values

<'caption-side'> = top | bottom | inherit
top

Positions the caption box above the table box.

bottom

Positions the caption box below the table box.

inherit

Specifies the same value as the parent.

Initial

top

Examples

1 · bottom

2 · top

3 · JS