W3C home > Mailing lists > Public > www-style@w3.org > June 2003

Re: @import

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 28 Jun 2003 10:19:23 -0700 (PDT)
To: Brian V Bonini <b-bonini@cox.net>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.56.0306281018470.18309@dhalsim.dreamhost.com>

On Sat, 28 Jun 2003, Brian V Bonini wrote:
>
> What is the real difference between using '@import' for external style
> sheets or 'link rel='? They both do the same thing no? DO they rank
> differently in the cascade, etc..??

The real difference is that <link> is how you link to stylesheets from
HTML documents, and @import is how you link to stylesheets from other
stylesheets.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 28 June 2003 13:19:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:22 GMT