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

 

Table Borders: Just Rows or Just Columns

<TABLE RULES="..."> controls which internal table borders are displayed. Note that these techniques currently only MSIE supports the RULES attribute. To set the table so that there are only borders between rows set RULES to ROWS:

<TABLE 
    BORDER=1 CELLPADDING=3 CELLSPACING=1 
    RULES=ROWS FRAME=BOX
    >

which gives us

Weekday Date Qty Shipped
Monday 09/11/2000 639
Tuesday 09/12/2000 596
Wednesday 09/13/2000 1135
Thursday 09/14/2000 1002
Friday 09/15/2000 908
Saturday 09/16/2000 371
Sunday 09/17/2000 272

Notice that inside the table there are only horizontal borders, but around the outside there are borders all the way around. To have only horizontal borders outside we'll add a FRAME attribute:

<TABLE 
    BORDER=1 CELLPADDING=3 CELLSPACING=1 
    RULES=ROWS FRAME=HSIDES
    >

which gives us

Weekday Date Qty Shipped
Monday 09/11/2000 639
Tuesday 09/12/2000 596
Wednesday 09/13/2000 1135
Thursday 09/14/2000 1002
Friday 09/15/2000 908
Saturday 09/16/2000 371
Sunday 09/17/2000 272

To set the table so that there are only borders between columns set RULES to COLS:

<TABLE 
    BORDER=1 CELLPADDING=3 CELLSPACING=1 
    RULES=COLS FRAME=BOX
    >

which gives us

Weekday Date Qty Shipped
Monday 09/11/2000 639
Tuesday 09/12/2000 596
Wednesday 09/13/2000 1135
Thursday 09/14/2000 1002
Friday 09/15/2000 908
Saturday 09/16/2000 371
Sunday 09/17/2000 272

As before, we've set the inside borders but not the outside borders. To have only vertical borders outside as well as inside we add FRAME=VSIDES:

<TABLE 
    BORDER=1 CELLPADDING=3 CELLSPACING=1 
    RULES=COLS FRAME=VSIDES
    >

which gives us

Weekday Date Qty Shipped
Monday 09/11/2000 639
Tuesday 09/12/2000 596
Wednesday 09/13/2000 1135
Thursday 09/14/2000 1002
Friday 09/15/2000 908
Saturday 09/16/2000 371
Sunday 09/17/2000 272



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.