Previous Message
Next Message

[css-d] Strange Problem with @import and alternate css for NS 4

Sent by David McDonald on 30 January 2002 08:08

Hi All,

At my site at , I have been using the following
piece of Javascript in order to serve up different style sheets to older

Now, I want to use the @import method instead, so I have set up a test
version using at that uses the

<link rel="stylesheet" type="text/css" href="common/css/older.css"
<style type="text/css">@import url("common/css/compliant.css");</style>

The first CSS is for NS 4 etc, the second for standards compliant
browsers...or so I thought.

As you can see at the test URL above, it gives a strange result in IE 5.5,
NS 6 and Opera.

Here's the page with just the @import only :

Can anyone see what am I doing wrong? Thanks....


David McDonald
Web Designer/Developer

Southbank, Victoria
Australia 3006

ICQ: 11814164
Previous Message
Next Message

Message thread: