Previous Message
Next Message

Re: [css-d] more media specific madness

Sent by Mark Gallagher on 27 February 2002 05:05


Richard,

> Eric wrote;
> > Have you tried something like this?
> >     <style type="text/css" media="all">
> >        @import url(/css/print.css) print;
> >        @import url(/css/screen.css) screen;
> >      </style>
>
> Thanks for the suggestion.  Tried it and failed :-(
> IE5.5 doesn't like the 'print' and 'screen' and fails to render any
style
> sheet.

What I use to get around this problem is:

    <style type="text/css" media="screen,projection">
        @import "/css/screen.css";
    </style>
    <style type="text/css" media="print">
        @import "/css/print.css";
    </style>

Convoluted, unfortunately, but it *does* work.

HTH


--
Mark Gallagher
http://cyberfuddle.com/infinitebabble/
Previous Message
Next Message

Possibly related: