[EMAIL PROTECTED] wrote:
> Hello all
>
> I have a site where i am using one style sheet to load others
>
> here it is:
>
> @import url("layout.css");
> @import url("modules.css");
> @import url("print.css") print;
>
>
> problem is IE (really?!!) doe's not recognize the print delivered in this
> manner - does it have to be pulled in the page separately? - I have
> googled this - but no answers
You're right: IE won't find that stylesheet when 'media' is declared in
an @import rule. IE is looking for a stylesheet with a completely
different name - which of course doesn't exist. It's a bug in all
Trident[1] based browsers - including IE7 last time I checked.
Solution: don't declare 'media' on the @import rule. Wrap the entire
stylesheet-content in an '@media print'[2] rule instead.
Georg
[1]http://en.wikipedia.org/wiki/List_of_web_browsers#Trident-based_browsers
[2]http://www.w3.org/TR/REC-CSS2/media.html#at-media-rule
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/