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

The template Store

Dreamweaver templates

 Dreamweaver Templates
 Dreamweaver New Releases
 Dremaweaver Best Sellers
 Dreamweaver Multipacks
 Dreamweaver CSS
 Dreamweaver Shopping Cart

Frontpage templates

 Frontpage Templates
 Frontpage New Releases
 Frontpage Best Sellers
 Frontpage Multipacks
 Frontpage CSS
 Frontpage Shopping Cart

Expression web templates

 Expression Web Templates
 Expression Web New
 Expression Web Best Sellers
 Expression Web Multipacks
 Expression Web CSS
 Expression Web Cart

Website templates

 Website Templates
 New Website Templates

CSS templates

 CSS Templates
 CSS Shopping Cart

Golive templates

 Golive Templates
 Golive Latest
 Golive Multipacks
 Golive Shopping Cart

Flash / Swish templates

 Swish Templates
 Flash Templates
 Flash Intro Templates

Webmaster tools

 DHTML Menus
 Site Survey
 Menu Multipacks

Template Search



Advanced Search

Site Search

Find us on Twitter

Follow us on twitter

Valid XHTML 1.0 Transitional

Valid CSS!

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
5% discount promo
News

Frontpage CSS Templates

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

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

We accept credit card and Paypal paymentsFind us on FacebookFollow us on twitterJoin us on Linkedin

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

© 2001 - 2010 The Template Store - All Rights Reserved
Shopping cart software by ecommercetemplates.com
Design by ibswebdesign.com