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

  • Initial valuetop
  • Applies toTables with a caption
  • InheritedYes
  • MediaVisual
  • Computed valueAs specified
  • AnimatableNo
  • CSS VersionCSS2, CSS3
  • JavaScript
Formal syntax: top | bottom | inherit

caption-side: top;
caption-side: bottom;
  • topPositions the caption box above the table box.
  • bottomPositions the caption box below the table box.
.class {
   caption-side: bottom;
   width: auto;
   text-align: left;

Last updated on 26th March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.