Version: Level 2
Compability: Currently not supported by any browser.
The caption-side property specifies if the caption box will be on the bottom, left, right, or top of a table. This property is designed to be used with the HTML caption tag. This property is inherited.
It is recommended that special consideration be paid to the width of the table when using a left or right sided caption box. You can vertically align a left or right side caption box to a table by using the vertical-align property with the bottom, middle, or top values.
This is one of five Level 2 properties that specifically applies style to tables. The other four are border-collapse, border-spacing, empty-cells, and table-layout.
caption
{
caption-side: top;
width: auto;
text-align: left;
}