At 11:40 18/07/2002 +0200, Ines Robbers wrote:
>Would you recommend to use a separate stylesheet for Netscape 4.x?
>I've somewhere read that it doesn't work for some reason but can't find out
>why. What are the disadvantages of using two different style sheets? What is
>the best way of implementing this trick?
I would be tempted to say server side browser detection. This is a bad
technique for general use as there are a huge number of different user
agents (including many which are capable of disguising themselves) but I
don't see that there are any problems in using it /just/ to spot netscape 4
and serve up an alternative style sheet. I noticed that www.scottandrew.com
does this to great effect, serving normal CSS to most user agents but
serving up a simplified (but still very attractive) stylesheet to NS4. Does
anyone know of any reasons (moral or technical) that make this a bad
approach to take? I'd love to dump NS4 support as much as anyone, but at
the end of the day there are some environments (such as academic sites)
where it is unavoidable.