On Mon, 01 Sep 2003 23:19:41 +0200 in
<message-id:bj**********@reader1.tiscali.nl>
Els <el*********@PLEASEtiscali.nl.invalid> wrote:
Andy Hassall wrote: "Ian.H [dS]" wrote:
AFAIK, @import() is for IE only.. use HTML:
@import is standard CSS1, not IE specific.
http://www.w3.org/TR/REC-CSS1#the-cascade
I used @import, so that all browsers could find the file,
except the older ones, like NN4, who would render it
completely wrong. They don't see @import, so in there, I put
all the CSS for newer browsers. Then, I'll make a <link
rel="stylesheet" href="/css/foo.css" type="text/css" />
which will be found by NN4, but overruled by @import for the
newer browsers. (if I make sure the @import is lower in the
<head> than the <link>..)
Ahh that makes sense, and clarifies my confusion.
I was confusing (myself with) "@import() is for IE only" and "older
browsers < IE4 && NN4 etc".
I knew there was a reason and a difference in the "HTML method" and the
@import() method.. I guess I should type what I mean in future.. and
more regular coffee =)
Regards,
Ian
--
Ian.H [Design & Development]
digiServ Network - Web solutions
www.digiserv.net | irc.digiserv.net | forum.digiserv.net
Programming, Web design, development & hosting.