On Thu, Jun 14, 2001 at 05:05:46PM +0200, Jean-Marc Lasgouttes wrote:
> >>>>> "Michael" == Michael Koziarski <[EMAIL PROTECTED]> writes:
>
> Michael> Netscape 4.x? I guess the choices are either
>
> Michael> 1) get the php to turn off css for your browser 2) break the
> Michael> css.
>
> Michael> I'd prefer 1. We could maintain a list of taglines of broken
> Michael> browsers and have the css turned off by default
> Michael> (index.php3?nocss=1). With an option for them to turn it back
> Michael> on again if they feel the need. What do others think?
>
> If you say there is no clean solution to this in netscape, so be it. I
> can live with the nocss version, but it really does not look the
> same...
>
> JMArc
First let me admit that I didn't follow the complete correspondence but
I do not quite get the problem.
There _IS_ a way to make a clean CSS for Netscape 4.7x. I've spent a lot
of time to do some tricks but succeeded and my CSS and XHTML _validated_
clean.
Take a look at my Web page and corresponding css files under
URL/style/personal.css and URL/style/pictures.css. Regarding the issue
of black letters you mention, I use in pictures.css:
/*
* personal.css must be loaded before this file
*/
body, p, ul, ol, dl, address, blockquote, td, caption,
h1, h2, h3, h4, h5, h6, th,
tt, pre, code, kbd, samp {
color: white;
background-color: rgb(53,99,144)
}
I admit it's overkill, but it validates as clean CSS and does the job.
In personal.css there are some tricks to make a boxed paragraph with a
different background, paragraph with a border, paragraph with a red line
to the left for notices, small caps, drop caps, transparent images
looking really transparent... Unfortunately, Konqueror doesn't get the
trick for small caps and drop caps yet. But it looks fine in Netscape
and IE.
I believe that you deliberately refrain from such tricks but they work
and they _are_ clean CSS.
If I'm missing the point please forgive me. :-)
--
Zvezdan Petkovic <[EMAIL PROTECTED]>
http://www.cs.wm.edu/~zvezdan/