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 ...>
ALIGN = TOP | BOTTOM | LEFT | RIGHT

ALIGN sets the alignment of the table caption. ALIGN doesn't work like other alignment attributes. There are only four accepable values. ALIGN=TOP puts the caption n top of the table, and ALIGN=BOTTOM put it below. ALIGN=LEFT puts the caption on top to the left, and ALIGN=RIGHT puts it on top to the right.

this code produces this
<CAPTION ALIGN=TOP>
Favorite Foods
Person Food
Ping French Toast with Powdered Sugar
Andy Tofu with Sprouts
<CAPTION ALIGN=BOTTOM>
Favorite Foods
Person Food
Ping French Toast with Powdered Sugar
Andy Tofu with Sprouts
<CAPTION ALIGN=LEFT>
Favorite Foods
Person Food
Ping French Toast with Powdered Sugar
Andy Tofu with Sprouts
<CAPTION ALIGN=RIGHT>
Favorite Foods
Person Food
Ping French Toast with Powdered Sugar
Andy Tofu with Sprouts

You may have noticed that there are no options for putting the caption below and to the right or below and to the left. MSIE recognizes a VALIGN attribute but not Netscape. If you want to put the caption on the bottom to the right or left you can use styles:

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

Technically, ALIGN is deprecated by W3C, though they don't give any explanation for why it is deprecated.

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire