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.

ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

page-break-after:always; styling is ignored on element in a table cell

  • 2 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 5 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย jscher2000 - Support Volunteer

more options
When I set an
tag to have the "page-break-after:always;" styling, it works as expected. If that
is inside a <td>, the styling is ignored and the cell does not break the page as I require when printing it out. Example at

https://criticalsurveys.online/demo/pagebreaks.htm

When I set an <hr> tag to have the "page-break-after:always;" styling, it works as expected. If that <hr> is inside a <td>, the styling is ignored and the cell does not break the page as I require when printing it out. Example at https://criticalsurveys.online/demo/pagebreaks.htm

การตอบกลับทั้งหมด (2)

more options

When I set an <hr> tag to have the "page-break-after:always;" styling, it works as expected. If that <hr> is inside a <td>, the styling is ignored and the cell does not break the page as I require when printing it out.

more options

(After Googling...) This has been an issue for a while. A bug was filed in 2002, and there is no sign of change on the horizon. (Bug 136714; before commenting, please read the entire discussion and see: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html.)

Why do you need such a large amount of content to be in a single table row?