Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project










PROPERTY: caption-side

caption-side : bottom | left | right | top
 
Compatibility: Currently not supported by any browser
Version: Level 2
Inherited: Yes
 
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.
 
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.
 
bottom
 
The bottom value places a caption box below the table.
 
left
 
The left value places a caption box on the left side of the table.
 
right
 
The right value places a caption box on the right side of the table.
 
top
 
The top value places a caption box above the table.
 
Code:
caption
{
 caption-side: top;
 width: auto;
 text-align: left;
}


 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information