Re: NS 4 sniffing?

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

 Date:  Tue, 28 May 2002 21:55:32 +0100
 To:  <hwg-basics(at)hwg.org>
 References:  nrc ntlworld ntlworld2 ntlworld3 hilma ntlworld4
  todo: View Thread, Original
At 07:59 27/05/02 +0100, Hilma wrote:
>So when (other than in this case) should i use the @import over <link> for a
>css?

@import is used in CSS, <link> in (X)HTML, so you can merge CSS for a 
general XML document using @import.

If you had a large number of pages where you needed to use 6 or 7 CSS, it 
would be easier to link them all to a CSS with 6 0r 7 @imports rather than 
linking each page directly to 6 or 7 uncombined sheets.

Andrew

--
http://aamcf.co.uk/

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA