Idocs Guide to HTML

Attribute for <CAPTION ...>
VALIGN = TOP | BOTTOM

Usage Recommendation
don't use it thumbs down

<CAPTION ...> is awkward in the way you indicate if the caption goes on top or bottom, left or right of the table. <CAPTION ALIGN="..."> is used for all four positions, which means that it has no way to indicate, for example, if the caption should go on the bottom right of the table.

MSIE recognizes VALIGN for the purpose of establishing vertical vs. horizontal positioning, but Netscape doesn't recognize VALIGN. Instead of using VALIGN, use ALIGN to indicate the vertical position and styles to indicate the horizontal. So, for example, these tags indicate that the caption should go on bottom and to the right, and on bottom and to the left:

this code produces this
<CAPTION 
   ALIGN=BOTTOM 
   STYLE="text-align:right">
Favorite Foods
Person Food
Ping French Toast with Powdered Sugar
Andy Tofu with Butternuts
<CAPTION 
   ALIGN=BOTTOM 
   STYLE="text-align:left">
Favorite Foods
Person Food
Ping French Toast with Powdered Sugar
Andy Tofu with Butternuts

Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.