Question

Locked

IE7 Printing Problem with CSS

By tkrengel ·
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;
}

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Peripheral Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums