Previous Message
Next Message

[css-d] Re: @import with media in Windows IE5.5

Sent by Christopher Ross-Gill on 29 January 2002 13:01


Hi Adrian,

> @import url(xstalbio.css) all;
> @import url(xstalbioprint.css) print;

One method: Replace the 'print' import line with an appropriate 'link' tag.
Create a stylesheet called 'xstalbiobridge.css' or 'xstalbiolink.css' (or
whatever) with only the first import command (without the media descriptor)
and link to that stylesheet. i.e.

<LINK HREF="xstalbiolink.css" REL="stylesheet" TYPE="text/css" MEDIA="all">
<LINK HREF="xstalbioprint.css" REL="stylesheet" TYPE="text/css"
MEDIA="print">

- Chris
Previous Message
Next Message