Forum Moderators: not2easy
HTML 4.01 Section 11.2.2 Table Captions: The CAPTION element [w3.org]
When present, the CAPTION element's text should describe the nature of the table. The CAPTION element is only permitted immediately after the TABLE start tag. A TABLE element may only contain one CAPTION element.
Are you having any particular problems with it?
Remember to place the elements inside your table in the correct order:
caption?
(col*¦colgroup*)
thead?
tfoot?
tbody+
Note:? means 0 or 1, * means 0 or more, + means 1 or more
The problem experienced is that IE6 shows the caption above the table, but Mozilla shows it to the left of the table.
The result is that because Mozilla inserts the caption to the left the table gets pushed to the right. Of course this won't do.
caption {
caption-side: /* (top¦bottom¦left¦right¦inherit) */;
}