On Friday 25 July 2003 07:31, Brian Candler wrote:
> On Fri, Jul 25, 2003 at 12:17:53PM +0100, Brian Candler wrote:
> > Is there any fundamental reason why I can't replace
> >    <td bgcolor="#cccccc">
> > with
> >    <td class="topheader">  ?
> >
> > Or indeed, why this class could not be applied just to the <table>
> > element and not to each of the individual cells?
>
> I can answer the second question myself - the rounded corners wouldn't
> work!
>
> But I just changed the individual cells to use a stylesheet, and it renders
> OK in Konqueror and IE5.0, so I reckon that's the way to go... so I'll make
> a patch and perhaps other people can try it.

My template is void of "hard coded" template colors. I use a pure stylesheet
setup. It works with Netscape 4.x through 7.2 and all other major browsers.

Rounded corners work fine.

Take a look:

http://mail.wingnet.net

Click on Webmail (New Look).

User ID: template-test
Passwd: test

I _did_ have to do quite a bit of cludgework to make various browsers happy
though. For example, Netscape 4.x didn't like the default HTML 4 DTD, so I
ripped them all out and replaced them with HTML 3.2 DTDs. That worked for
Netscape 4.x and most other major browsers, but then I noticed that
Netscape 6.2 started messing up the rounded corner jpgs, so I removed the
DTDs entirely (actually, I created an [#:include: #} for them and made it blank)
and that seems to work great across ALL browsers.

Also, transparent gifs will NOT work in Netscape 4.x for the corners. I had to
use jpgs. It's complicated.

And I had to put a lot of otherwise totally unnecessary and excessive CLASS
tags on TDs and TRs to get the style to filter down properly for Netscape 4.x.

But really the only complaint I have is that there is still a bunch of hard coded
CGI HTML that you can't change without patching the source. I'm currently
working on a patch to fix that though.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net



Reply via email to