[Zope] Different stylesheet for different browsers

Michael Fischer v. Mollard mfvm@businessvillage.de
Mon, 01 Jul 2002 17:02:14 +0200


Thomas Weholt wrote:

>How can I use one stylesheet for Netscape and older browsers and another for
>Mozilla, IE, Opera etc ?
>Is there an easy way to detect browser type and use a specified stylesheet
>for that browser?
>Preferrably not Zope specific, but perhaps javascript or CSS, I don't care.
>As long as its cross-browser it's ok.
>

A little bit late perhaps: As the CSS support in recent browsers is 
rather good, it might be sufficient to have a special stylesheet for 
Netscape 4. The standard trick is is using a css  @import statement for 
recent browsers, which NS4 simply ignores. Btw, look at plone.org for 
really cool Zope and css side.

    Regards
       MFvM