This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

CSS Page-break-before is not working in FireFox 4 but worked proper in FF3.x

  • 3 replies
  • 47 have this problem
  • 7 views
  • Last reply by akwmichl

more options

I have web app that produces ~10 page sales estimate. To make things look nice, I have added pagination to my CSS files (using page-break-before:always)... this all worked wonderfully in FireFox 3.x... I recently upgraded to FF4 and now it is not working

I have web app that produces ~10 page sales estimate. To make things look nice, I have added pagination to my CSS files (using page-break-before:always)... this all worked wonderfully in FireFox 3.x... I recently upgraded to FF4 and now it is not working

All Replies (3)

more options

I had this problem but found that for some reason I had put the page-break-after in a span instead of a div.

As soon as I changed my span to a div it worked correctly.

more options

Hi there,

I seem to be having a similar problem, however, the first page break is working, but each page break after that is not.

The page break is a div that is a dedicated page break layer and the first clearly works, but the remainder of the 12 page report doesn't have any breaks.

Testing with other browsers shows up 12 pages with breaks which to me indicates a issue with ff4 as I have only recently upgraded to 7 and it used to print under ff3 with all the breaks no problems.

more options

Even in the newer versions 5.* anfd 6.* it doesn't work...

Very very sad that such a little bug is able to hold us back from updating all our clients!