Re: CSS question with NN

by Andrew McFarland <aamcf(at)aamcf.co.uk>

 Date:  Wed, 01 May 2002 21:43:37 +0100
 To:  Nate Harel <nharel(at)nettech-services.net>
 Cc:  hwg-techniques(at)hwg.org
 References:  ntlworld norton ntlworld2 norton2 norton3
  todo: View Thread, Original
At 08:44 29/04/02 -0400, Nate Harel wrote:
>So the obvious follow-up question is "how do I get it to work in both NN 
>and IE"?
>
>Is there a way in CSS to create two styles, one for NN one for IE, and 
>have it match the browser?

Netscape 4 doesn't understand the @import rule. You can use this to hide 
CSS from NS4:

<.style type="text/css">
@import('extra.css');

/* other rules here */

<./style>

You can put an @import at the start of any CSS, internal or external.

Andrew

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA