Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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.

Learn More

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

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

All Replies (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?