@import hack (was Re: [thelist] Form CSS styles)

Andrew Clover and at doxdesk.com
Fri Jan 18 11:15:30 CST 2002


Mark Howells <mark at mountain.ch> wrote:

> Why not use

> @import "/reallyadvanced.css";

> in the linked "advanced.css" file ?

Yep, this is another good approach (which I mentioned at the bottom as a
possibility - no mixing of languages so I'm happy).

Only possible problem is that I believe IE4/Mac resolves @import URLs
relative to the HTML document, not the stylesheet, so if you're using
relative URLs and the CSS and HTML are in different directories you can
confuse it.

-- 
Andrew Clover
mailto:and at doxdesk.com
http://and.doxdesk.com/




More information about the thelist mailing list