mPDF - 页脚 - 内容重叠页脚?
我们使用 mpdf 从 html 页面创建 pdf。我们正在为除第一页和最后一页之外的所有页面设置页脚。页脚将全部相同。问题是页面内容与页脚重叠。也就是说,内容就停在页脚上方并转到下一页,它会一直到达页面底部并与页脚重叠。现在,在保存分页符之前,pdf页面内容在某种程度上是动态的,长度会从几个段落到多个变化不等,所以不仅仅是放入分页符的情况。
以前有人这样做过吗?知道这个秘密吗?
谢谢
We are using mpdf to create a pdf from a html page. We are setting up footers for all pages other then the first and last page. The footers will all be the same. The problem is the contents of the page is overlapping the footer. ie rather then the contents stopping just above the footer and going to the next page it goes all the way to the bottom of the page and overlaps the footer. Now, before you save pagebreak, the pdf page contents is somewhat dynamic and the length will vary from a few paragraphs to multiple changes, so not simply a case of putting in a page break.
Anyone done this before? know the secret?
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决了..更改边距底部..
Solved.. change margin bottom..