CSS:caption-side
From MDC
[edit] Summary
caption-side positions the the content of table-caption at the specified side.
- Initial value: top
- Applies to: 'table-caption' elements
- Inherited: yes
- Percentages: n/a
- Media:
visual - Computed value:
[edit] Syntax
caption-side: top | bottom | left | right | inherit
[edit] Values
- top
- caption box will be above the table.
- bottom
- caption box will be below the table.
- left
- caption box will be on the left side of the table.
- right
- caption box will be on the right side of the table.
[edit] Examples
.contentbox table-caption{
caption-side: bottom;
}
[edit] Notes
[edit] Specifications
- W3C Cascading Style Sheets, level 2 revision 1
- W3C Cascading Style Sheets, level 2
- W3C Cascading Style Sheets, level 3
[edit] Browser compatibility
| Browser | Lowest Version |
|---|---|
| Internet Explorer | ? |
| Firefox | ? |
| Netscape | ? |
| Opera | ? |
| Safari | ? |
[edit] See also
caption-side table-layout border-collapse border-spacing empty-cells speak-header