Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 990   Yesterday: 1,235   Max: 1,872   Total: 481,967   Current Users : 16 (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 <TABLE ...>
WIDTH = "width expression"

WIDTH sets the width of the table. The width can be expressed either as an absolute value in pixels, or as a percentage of the screen width. If the width is not given, the browser will use built in routines to determine what width looks best (according to the browser programmer's tastes).

Some examples:

A common value for WIDTH is 100%, which gives the table a nice full-page look.

<TABLE BORDER WIDTH=100%>
<TR><TD>peaches</TD><TD>cherries</TD></TR>
<TR><TD>walnuts</TD><TD>almonds</TD></TR>
</TABLE>

peachescherries
walnutsalmonds

<TABLE BORDER WIDTH=65%>

peachescherries
walnutsalmonds

For tables that are less than 100%, putting the table inside <CENTER ...> often looks better than leaving the table left aligned:

<CENTER>
<TABLE BORDER WIDTH=50%>
•••
</CENTER>

peachescherries
walnutsalmonds



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.