jack fredricks wrote:
> I have tried;
>
> 1) imported print.css for all media
> 2) wrapped the content of print.css in an "@media print" rule
>
> but it still doesnt work for silly IE6!!!! FF is fine.
>
> FF web dev toolbar shows that print.css was linked properly.
>
> Just a tip - Wrapping this way allows u change the "@media print"
> rule to "@media all", effectively allowing you to see what your page
> will print like (as ofc is print preview).
>
> I guess that means my question is; Is there a way to import a print
> only style sheet for IE without using a LINK element?
I don't think so, as a parsing bug in IE/win - which seems to be present
in all Trident-based versions, included IE7, will make that browser look
for "another" file when '@import ... print' is used. I use that parsing
bug as a hack[1] - replacing 'conditional comments', but I still have to
rely on the @media rule in the stylesheet to prevent it from being a
'media all' stylesheet.
Now, all my testing shows that IE6 picks up _my_ printing-styles
correctly the way I have applied the @import and @media rules - although
IE/win can be quite stubborn when it comes to overriding some of the
dedicated screen styles with the equivalent print styles.
Do you have a link so I can look a bit closer at the problem you are
experiencing?
regards
Georg
[1]http://www.gunlaug.no/contents/wd_additions_12.html
--
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/