Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Netscape border colors
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

paco
Junior Member

Spain
187 Posts

Posted - 14 May 2001 :  07:44:48  Show Profile
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  Show Profile  Visit Kat's Homepage
you can't. netscape 6 should be ok but earlier versions have a mind of their own..

KatsKorner
Go to Top of Page

paco
Junior Member

Spain
187 Posts

Posted - 14 May 2001 :  09:22:30  Show Profile
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

Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 14 May 2001 :  09:26:59  Show Profile  Visit Kat's Homepage
Best of luck,

I have never managed to get it working with Netscape so I would be interested if you can.

KatsKorner
Go to Top of Page

tilttek
Junior Member

Canada
333 Posts

Posted - 14 May 2001 :  09:33:19  Show Profile  Visit tilttek's Homepage
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
Go to Top of Page

paco
Junior Member

Spain
187 Posts

Posted - 14 May 2001 :  09:39:59  Show Profile
I can't do it with CSS either.

Anybody knows how to do it?

Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 14 May 2001 :  09:52:53  Show Profile  Visit Kat's Homepage
You can't Paco. It won't work. Sorry.

KatsKorner
Go to Top of Page

paco
Junior Member

Spain
187 Posts

Posted - 14 May 2001 :  10:06:21  Show Profile
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

Go to Top of Page

paco
Junior Member

Spain
187 Posts

Posted - 14 May 2001 :  10:08:09  Show Profile
Please note that the table is inside the td.

Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 14 May 2001 :  11:03:16  Show Profile  Visit gor's Homepage
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
Go to Top of Page

paco
Junior Member

Spain
187 Posts

Posted - 14 May 2001 :  11:39:02  Show Profile
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?

Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 14 May 2001 :  11:44:09  Show Profile  Visit Kat's Homepage
Well done Paco! I take it back

KatsKorner
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 14 May 2001 :  11:47:22  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
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
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 14 May 2001 :  13:22:08  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
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
Go to Top of Page

tilttek
Junior Member

Canada
333 Posts

Posted - 15 May 2001 :  09:19:51  Show Profile  Visit tilttek's Homepage
And even Snitz was number 436534894793 to "rediscover" this way.


Philippe Gamache
http://www.tilttek.com
http://www.lapageamelkor.com
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 15 May 2001 :  13:11:24  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.68 seconds. Powered By: Snitz Forums 2000 Version 3.4.07