problem with css media print in IE

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I've created two style sheets. One for screen and one for print. The
print css works in both Firefox and Netscape. However when I try to
print in IE7 no style is applied at all. Also the sections of the page
that should be hidden with the <div> tags show up. Here is how I
referenced them on the page:

<style type="text/css" media="screen">@import url(c/screen.css);</

To hide certain elements in the print page i use this in the print
style sheet:

.noPrint {
    display: none;

Please Help!


Re: problem with css media print in IE wrote:
Quoted text here. Click to load it

When having troubles getting browsers to treat your coding the way you
want or expect, consider the possibility that the browsers might
actually be doing things right, and check the specs:

Notice the quotes in the W3C's version?

(If you actually have the quotes on your real page, it's a confirmation
that you should have provided a URL.)


Site Timeline