Question Locked

IE7 Printing Problem with CSS

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Using 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;
}

1 reply

This discussion is closed to new replies.