website templates | css templates | dreamweaver templates | frontpage templates | golive templates | expression web templates

The template Store

Frontpage

 FP Templates
 FP Latest Releases
 FP Best Sellers
 FP Multipacks
 FP Ecommerce Plus

Dreamweaver

 DW Templates
 DW Latest Releases
 DW Best Sellers
 DW Multipacks
 Dreamweaver CSS
 DW Ecommerce Plus

Website templates

 Website templates
 New website templates

CSS templates

 CSS templates
 CSS Ecommerce Plus

Expression web

 Expression web
 Expression web CSS

Golive

 GoLive Templates
 GoLive Latest
 GoLive Multipacks
 GoLive Ecomm. Plus

Flash / Swish

 Swish Templates
 Flash Templates
 Flash Intro Templates

Webmaster tools

 DHTML Menus
 Site Survey
 Menu Multipacks

Template Search


Advanced Search

Site Search



Home > Help files >> Table borders

Table borders

Netscape and Internet Explorer do not read table borders the same way, particularly regarding color and style. To achieve a consistent look between browsers you can nest tables, allowing one of them to give the appearance of a border.

 

1. Make the "underneath" table, giving it three rows and three columns. It is best to set the width in pixels. Cell spacing and padding should be set to zero.

2. Set the table background color to the color you desire for the border.

3. Merge the top three cells.

4. Merge the bottom three cells. (view 1)

 

Table
view 1

5. Insert a 1x1 transparent .gif into the top cell, bottom cell, and each of the side cells. Leave the center cell empty. For this exercise we are assuming you want a one pixel wide border. If you want one wider, you will need to adjust the height of the .gifs in the top and bottom cells and the width of the .gifs in the side cells. (view 2)

 


view 2

6a. Insert a second table into the center cell, giving it one row and one column. The width should be two pixels less than the first table. Set cell padding to 5.

Do not be alarmed if it does not look just right. (view 3)

 

Table
view 3

7a. Set the table background color to one that contrasts with that of the first table.

When you preview in browsers, it should appear similar to the table in view 4.

 

Table
view 4

OR

 

 

6b. Insert a second table into the center cell, giving it two rows and two columns. The width should be two pixels less than the first table. Set cell padding to 5 or the approximate amount of space you wish to have between the cell wall and content. Set cell spacing to two.

Do not be alarmed if it does not look just right. (view 5)

 

Table
view 5

7b. Set the cell backgrounds to colors that contrast with that of the first table.

When you view in browsers the table should look similar to view 6.

Table
view 6
Affiliate program
FeaturesNews
· Affiliates Program
· Help Files / Tutorials
· Template hosting
· How to Purchase
· News
· Newsletter
· Ecommerce stores
· Site Map
News bottom

News

Dreamweaver CSS Templates

New section with 100% CSS based XHTML valid Dreamweaver templates.

Microsoft Expression Web Templates

New section containing templates Microsoft's new Expression Web program.

Website Templates

We now have a selection of website templates with full PSD source files.

CSS Templates

New range of 100% CSS layouts and XHTML compatible.

read more read more...

News bottom

Resellers
Check out our reseller program and earn 20% commission on all templates sold through your site - that's over $25 per sale for our ecommerce plus templates.

read more read more...

News bottom

PayPal World Seller


We accept credit card and Paypal payments

Frontpage Templates | Dreamweaver Templates |  Website Templates |  Expression Web Templates
License + Terms | Privacy Policy | Contact us | Help | Shopping Cart

© 2001 - 2002 - 2003 - 2004 - 2005 - 2006 - 2007 - 2008 The Template Store - All Rights Reserved
Shopping cart software by ecommercetemplates.com
Design by ibswebdesign.com