4

I have an html page that I want to print. This page has a css formatting to it. When I go to print it out in Firefox, the print preview and the printed version has my data overlapping each other on the page breaks. I am not currently controlling page breaks in my css. Here is a screen shot of the print preview in firefox. Notice the overlapping!

enter image description here

Not sure why this is happening or how to resolve. Has anyone seen this problem before? Thanks for the help

asked Sep 18, 2012 at 14:57
3
  • I did forget to mention that the same css and html page prints great in google chrome. Commented Sep 18, 2012 at 15:00
  • 2
    "I am not currently controlling page breaks in my css". And since this seems like a viable solution, why haven't you tried this? Commented Sep 18, 2012 at 15:07
  • I have tried this but took it out since it did not change the issue. For some reason , any data the spills over onto the next page looks like my screen shot above. It seems that there is another underlying issue with firefox i am missing since every thing work well in chrome and IE. Commented Sep 18, 2012 at 17:22

1 Answer 1

5

Finally found the issue, and wanted to post it in case some one else runs across the same thing. In my css I had

overflow: auto;

I totally forgot I even had this in there so changing it to

overflow: visible;

that fixed the printing issue. Hope this will help someone!

answered Sep 24, 2012 at 13:16
Sign up to request clarification or add additional context in comments.

1 Comment

The most radical way to do it is @media print { * { overflow: visible !important; }} - which I put into my stylesheet. However, it does not work in some cases... This is seriously broken in Gecko (or just Firefox?) - the WebKit- and Trident-based browsers handle it OK. Not to mention page-break-inside: avoid; for not cutting lines in half!

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.