Question
-
Topic
-
IE7 Printing Problem with CSS
LockedUsing the following Print Styling which works well in all browsers except IE7. IE7 prints the logo and footer only. Hacks?
Code follows:
/* Print Styling ******************************************************************/
@media print {
body {
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
}
#printLogo { display: block !important; }
#slMainContent, #slContent, #content, #footer, #containerSl {
width: 99% !important;
float: none !important;
margin: 0 !important;
padding: 0 !important;
height: auto !important;
}
#div { width: 100% !important; }#headerSl, #slHeaderOne, #slHeaderTwo, #slHeaderThree, #slHeaderFour, #slHeaderFive, #slHeaderSix, #slHeaderSeven,
#slHeaderEight, #slHeaderNine, #slHeaderBar, .toTop, .logoRight, .logoLeft, #slSidebar, #adminTools {
display: none !important;
}
table {
width: 100% !important;
}