Dennis Seavers wrote:
>I have a print stylesheet for a Web site that isn't working the way I'd
>like in IE, but it works fine in FF.
>
>The Web site has one main styelsheet
>(http://www.azbof.gov/stylesheets/main.css) that imports the print
>stylesheet:
>@import url(print.css) print, handheld;
>
>The print.css (http://www.azbof.gov/stylesheets/print.css) file is
>supposed to eliminate much of the navigational and presentational
>information, so that really all that's left is the basic information.
>However, on IE, the navigational and presentational information stays,
>while on FF, it prints like it should. I added the !important
>statement, but that didn't seem to help.
>
Hi Dennis,
Experimenting somewhat, I found that IE isn't reacting on a media-type
property in the @import rules. For instance, if I add "screen" to the
common.css, the common.css isn't loaded in IE.
So the print link has to be removed from the @import rules, and can be
added in the html:
* testpage
<http://home.tiscali.nl/developerscorner/css-discuss/test-fingerprinting.htm>
Success and greetings,
francky
ps:
To get rid of the brown sidebar background (also in FF @print-example),
I added a general background/color-rule in the print.css. Maybe also img
{display:none;} for the internal bookmark images.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/