danfickle / danfickle/openhtmltopdf
page-break-inside: avoid not working (maybe)
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 423
- PR merge metrics
- No merged PRs in 30d
Description
Hi I don't know if there's a bug or I'm misunderstand how to do it. See attached.
[post-pdf.pdf](https://github.com/danfickle/openhtmltopdf/files/2383885/post-pdf.pdf)
[template2.html.txt](https://github.com/danfickle/openhtmltopdf/files/2383892/template2.html.txt)
I want to ensure that the entire region from "Special notes ..." and "Subtotal ..." down to "Total ..." is not broken across pages. How can I do that?
Also the "Special notes..." are overlapping the "final-messages" block. Is there a way to prevent this. This overlap doesn't happen in Chrome.
Richard
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.