Join the AMA (Ask Me Anything) with Firefox leadership team to talk about Firefox priorities in 2024. Mark your calendar! Thursday, June 13, 17:00 - 19:00 UTC.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • 3 trả lời
  • 47 gặp vấn đề này
  • 7 lượt xem
  • Trả lời mới nhất được viết bởi 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

Tất cả các câu trả lời (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!