In my web page, I'm using 2 stylesheets :
<link rel="stylesheet" href="css/screen-layout.css" media="screen" type="text/css" />
<link rel="stylesheet" href="css/print-layout.css" media="print" type="text/css" />
inside print-layout.css
there is :
.ui-dialog * {display: none !important;}
When I viewed my webpage on IE7, it's supposed to ignore the media="print"
one, but it didn't, it applied the display: none
, causing all the elements to be hidden. And in the debugbar plugin for IE7, I can see that IE7 applied the print-layout.css
file. How is that possible? or am I missing any requirements for using print on IE7?
Thanks :)