Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

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. Published under the terms of the Open Content License Design by Interspire