Replies: 1 comment
-
Having this exact issue as well |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello hello,
I'm working on a multipage PDF but am running into an issue. We want to include a light gray background color for the pdf, which is easy enough with:
But we also want to use margins which we set via:
But the background color set on the html element doesn't apply to the margin, and so everything looks off with these white gaps at the top and bottom of the page.
If we don't use the margin method and instead just set a padding on the body of the content the background looks fine, but the content butts right up to the top and bottom of the page on page breaks which looks gross, and we don't have room to place a pagecount footer.
Any suggestions on how to resolve this?
Beta Was this translation helpful? Give feedback.
All reactions