Window.Print() under IE6 truncates 1 inch off the right of the page.
I'm trying to print a document/page in a IE window using window.print() (ASP 2.0), but under IE6 it truncates 1 inch of the right of the page. Works fine in IE7 and looks like it truncates a little off in IE8. Any idea how to fix this?
Do you have a width set on the page or the main containers in your CSS?
A common problem is that web designers don't think about print stylesheets at all, and so if they have set a width on the page or the main container, the printed page will try to match that width. A variation on that problem is the designer who knows that they need to have a print stylesheet, but then does something stupid like setting width:8in;, which might work fine on US Letter paper with a laser printer, but goes horribly wrong on A4 paper with a cheap home printer, where the printable width can be considerably narrower.
Depending on what units are used, it may be that different browsers are interpreting them slightly differently, hence it working better with some than others.
Any posts I write in Arial are on my mobile phone, so please excuse typos etc. Any posts I write in Verdana are on a PC, so feel free to berate me mercilessly for any mistakes
<< Do you have a width set on the page or the main containers in your CSS? >>
I don't believe I have any page or main containers in the following CSS file below. I have over 10,000 users, who use over 500 different applications, so I need a printing/margin solution to set the page margins for my ASP site, so my user's don't have to worry about printing margins.