Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table Border?

Status
Not open for further replies.

bluedollar

Programmer
Jul 24, 2003
174
GB
I have found a website on that I like, at:


That uses a thin border, however it is not clear in the source html how they created it. I have tried to recreate it using:

<table bgcolor=&quot;#CACCCD&quot; width=&quot;120&quot; BORDER=1 CELLSPACING=0 CELLPADDING=2 BORDERCOLOR=000000>

However the resulting border is a lot thicker.

Does anyone know how to do this?

Any help would be greatly appreciated.

Thanks

Dan
 
This should work
Set the table up as follows:

<table bgcolor=&quot;#000000&quot; border=&quot;0&quot; cellpadding=1 cellspacing=1>

Then for each row in the table use the following

<tr><td BGCOLOR=&quot;#FFFFFF&quot;>Cell text here</td></tr>

All you need to do is change the colours to match the theme on your site

Regards
Ian

Infinity exists! - I just haven't worked out a way to get there yet.

| |
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top