Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 914   Yesterday: 1,235   Max: 1,872   Total: 481,891   Current Users : 21 (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.

 

Attributes for <TR ...>
ALIGN = LEFT | CENTER | RIGHT
HALIGN = LEFT | CENTER | RIGHT

ALIGN sets the horizontal alignment of the cells in the row. One of the most common situations where ALIGN is useful is when you have a row of table headers that you want to align left with the text instead of being centered. So, for example, this code sets the first row of cells to align left:

<TABLE BORDER>
<TR ALIGN=LEFT> <TH>Fruit</TH> <TH>State</TH> </TR>
<TR> <TD>watermelon</TD> <TD>Georgia</TD> </TR>
<TR> <TD>apples</TD> <TD>Washington</TD> </TR>
</TABLE>

which gives us this table:

Fruit State
watermelon Georgia
apples Washington

HTML 4.0 says that HALIGN sets the horizontal alignment of the cells, but HALIGN is currently poorly supported by the browsers while ALIGN is well supported. Stick to ALIGN for now.



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.