-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-fs-table-paginate: paginate or running elements missing background-color on second page #130
Comments
Looks like this is happening when there is a:
besides that these two should not affect the inner table at all |
@schmitch Do you have a small test HTML file to reproduce that problem? Table pagination is tricky and buggy. For good and stable results you should try to avoid breaks in a tr at all costs. If you can estimate the size of the tr you should use the style E.g.
If you use some form of a template engine to generate the HTML for your report you could use it to calculate the needed height on the fly. Yes, that's a workaround. But getting the pagebreaks right in all different scenarios is very hard. You might notice that all browsers just cut the page in peaces without bothering about nice pagebreaks at all. |
Hello, currently I used openhtmltopdf with a simple html
however on the second page the background is not colorized. But other css properties like font-size font-weight are correctly applied. it might be noted that I apply the css via:
The same applies to running elements.
Also when I use the above on the second page the margin between the header and the body diverge. So they are not equal
The text was updated successfully, but these errors were encountered: