搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 3 回覆
  • 47 有這個問題
  • 7 次檢視
  • 最近回覆由 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

所有回覆 (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!