Re: RE: @import

by Carole Anne Gay <carole(at)designs.com>

 Date:  Fri, 13 Sep 2002 11:11:08 -0700
 To:  "'hwg-style(at)hwg.org'" <hwg-style(at)hwg.org>,
"Jim O'Brien" <JOBrien(at)witness.com>
 In-Reply-To:  witsys
  todo: View Thread, Original
Actually, @import works for all the newer browsers.  You simply add the NN4 rules in the document level stylesheet and 
everything else in the external stylesheet.  NN4 does not know how to use the @import mechanism so will use only the 
styles in the document level stylesheet.  Be sure to choose a class that is consistent, such as "nn4" and define that in 
your external stylesheet as "display: none;".  In this way, only NN4 will display the page according to the NN4 class 
definitions.

HTH,

Carole


9/13/02 5:08:39 AM, "Jim O'Brien" <JOBrien(at)witness.com> wrote:

>If I remember correctly...  @import only works in IE.  In other words,
>you'll need to make your "default" css for Netscape and then have any other
>css files imported from that file.  Make sense?
>
>-----Original Message-----
>From: Tim Rivera [mailto:timrivera23(at)hotmail.com]
>Sent: Friday, September 13, 2002 7:48 AM
>To: 
>Subject: Re: @import
>
>
>> I having trouble getting @import to work, could someone please tell me
>> the correct syntax.
>
>6.3  The @import rule
>http://www.w3.org/TR/REC-CSS2/cascade.html#at-import
>
>
>Tim
>
>
 

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

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.