Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 1,042   Yesterday: 1,235   Max: 1,872   Total: 482,019   Current Users : 20 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 

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>
Fruit Largest
State
Producer
<TR VALIGN=MIDDLE>
Fruit Largest
State
Producer
<TR VALIGN=BOTTOM>
Fruit Largest
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
watermelon Georgia
apples Washington



Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 
 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2008 Broadband Media, Inc. All rights reserved.