CSS caption-side property
Description of property definition and use
The Tcaption-side property sets the position of the table title.
Default: | top |
---|---|
Inheritance: | yes |
Version: | CSS2 |
JavaScript syntax: | object .style.captionSide="bottom" |
Browser support
Caption-side properties are supported by all major browsers.
Note: I E8 is only specified! DOCTYPE only supports the caption-side property.
The property value
Value | Describe |
---|---|
top | The default. Position the table title on top of the table. |
bottom | Position the table title under the table. |
inherit | Specifies that the value of the caption-side property should be inherited from the parent element. |
Related articles
CSS tutorial: CSS Table