Author |
Topic  |
|
paco
Junior Member
 
Spain
187 Posts |
Posted - 14 May 2001 : 07:44:48
|
How can I set the border colors of an HTML table in NS?
If possible I would like to avoid using CSS
Regards, Paco
|
|
Kat
Advanced Member
    
United Kingdom
3065 Posts |
Posted - 14 May 2001 : 07:51:49
|
you can't. netscape 6 should be ok but earlier versions have a mind of their own..
KatsKorner
|
 |
|
paco
Junior Member
 
Spain
187 Posts |
Posted - 14 May 2001 : 09:22:30
|
Really? I thought that using bordercolorlight and bordercolordark would work but they don't in either Ns 4.75 nor 6.01. I'll try if I can do it with css.
Thanks, Paco
|
 |
|
Kat
Advanced Member
    
United Kingdom
3065 Posts |
Posted - 14 May 2001 : 09:26:59
|
Best of luck,
I have never managed to get it working with Netscape so I would be interested if you can.
KatsKorner
|
 |
|
tilttek
Junior Member
 
Canada
333 Posts |
Posted - 14 May 2001 : 09:33:19
|
quote:
Really? I thought that using bordercolorlight and bordercolordark would work but they don't in either Ns 4.75 nor 6.01. I'll try if I can do it with css.
They are IE specific!
Philippe Gamache http://www.tilttek.com http://www.lapageamelkor.com |
 |
|
paco
Junior Member
 
Spain
187 Posts |
Posted - 14 May 2001 : 09:39:59
|
I can't do it with CSS either.
Anybody knows how to do it?
|
 |
|
Kat
Advanced Member
    
United Kingdom
3065 Posts |
Posted - 14 May 2001 : 09:52:53
|
You can't Paco. It won't work. Sorry.
KatsKorner
|
 |
|
paco
Junior Member
 
Spain
187 Posts |
Posted - 14 May 2001 : 10:06:21
|
I found a workaround. Not too elegant for some cases but it's OK for mine 
<td bgcolor="#00ff00"> <table bgcolor="#ffff00" cellspacing="20">
This way you'll get a table border that has the color of td for NS and the color of the table for IE
Regards, Paco
|
 |
|
paco
Junior Member
 
Spain
187 Posts |
Posted - 14 May 2001 : 10:08:09
|
Please note that the table is inside the td.
|
 |
|
gor
Retired Admin
    
Netherlands
5511 Posts |
Posted - 14 May 2001 : 11:03:16
|
quote:
I found a workaround. Not too elegant for some cases but it's OK for mine 
<td bgcolor="#00ff00"> <table bgcolor="#ffff00" cellspacing="20">
This way you'll get a table border that has the color of td for NS and the color of the table for IE
Regards, Paco
Now where have I seen that before ???? 
Pierre Join the Snitz WebRing |
 |
|
paco
Junior Member
 
Spain
187 Posts |
Posted - 14 May 2001 : 11:39:02
|
Well, it seems like this was a old known work around and I had to rediscover the wheel. At least it didn't took me days to find it, just some code experimenting. I guess I'm discoverer number 134535674565466 on this one.
Not that bad eh? 
|
 |
|
Kat
Advanced Member
    
United Kingdom
3065 Posts |
Posted - 14 May 2001 : 11:44:09
|
Well done Paco! I take it back 
KatsKorner
|
 |
|
davemaxwell
Access 2000 Support Moderator
    
USA
3020 Posts |
Posted - 14 May 2001 : 11:47:22
|
quote:
quote:
I found a workaround. Not too elegant for some cases but it's OK for mine 
<td bgcolor="#00ff00"> <table bgcolor="#ffff00" cellspacing="20">
This way you'll get a table border that has the color of td for NS and the color of the table for IE
Regards, Paco
Now where have I seen that before ???? 
Hmmmm....could that be in the Snitz code????? Naaahh, to obvious
Dave Maxwell -------------- Proud to be a "World Class" Knucklehead |
 |
|
Aznknight
Senior Member
   
USA
1373 Posts |
Posted - 14 May 2001 : 13:22:08
|
all you need is to make the cellspacing="1" and cellpadding="4" attributes on the table and you got yourself snitz borders ..oh and the layout color variables hehe.
- Alan www.iamviet.com www.calvsa.net Snitz Resource |
 |
|
tilttek
Junior Member
 
Canada
333 Posts |
|
Reinsnitz
Snitz Forums Admin
    
USA
3545 Posts |
Posted - 15 May 2001 : 13:11:24
|
Um... in the spirit of keeping our code as compliant with HTML standards as we can... the best way to actualy do this is to fully embed your tables:
<table border=0> <tr> <td bgcolor=black cellspacing=1 cellpadding=0> <table border=0> <tr> <td bgcolor=white> </td> </tr> </table> </td> </tr> </table>
Reinsnitz (Mike) ><)))'> Need a Mod? "Therefore go and make disciples of all nations,..." Matthew 28:19a |
 |
|
|
Topic  |
|