Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Tables > <TR ...>

Attribute for <TR ...>
VALIGN =TOP |MIDDLE |BOTTOM |BASELINE

VALIGN sets the vertical alignment of the row. VALIGN can be set to TOP, MIDDLE, BOTTOM, or BASELINE.

this code produces this
<TR VALIGN=TOP>
FruitLargest
State
Producer
<TR VALIGN=MIDDLE>
FruitLargest
State
Producer
<TR VALIGN=BOTTOM>
FruitLargest
State
Producer

BASELINE requires a few extra words of explanation. The baseline is the imaginary line on which rest all the letters in a line of text. BASELINE sets the row so that all the cells share the same baseline. Most of the time this has the same effect as BOTTOM, but if the fonts are different sizes then BASELINE is looks better.
VALIGN=BOTTOM aligns the cells along the bottom of the text demonstration of VALIGN=BOTTOM
VALIGN=BASELINE aligns the cells along the baselines of the text demonstration of VALIGN=BASELINE
So, for example, the font size is set larger in the second cell in the first row, but the cells align along their baselines:

<TR VALIGN=BASELINE> 
 <TH>fruit</TH> 
 <TH STYLE="font-size:300%">jury</TH> </TR>

which gives us this table

fruit jury
watermelonGeorgia
applesWashington

<TR BGCOLOR="..."> >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com