Forums / Developer / User Agent / Browser detection / Comment40743
Bruce Morrison
Thursday 27 May 2004 11:43:20 pm
Hi Dries
I think you can do this just using CSS hacks
NS4 doesn't reconnise the @import of style sheets while most other do.
This allows you to do something like
<link rel="stylesheet" type="text/css" href="/path/to.css"> <style type="text/css"> @import url(/path/toadv.css); </style>
to.css will be read only by NS4, while other browsers will read both.
CheersBruce http://www.designit.com.au
My Blog: http://www.stuffandcontent.com/ Follow me on twitter: http://twitter.com/brucemorrison Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish