mPDF为SetHTMLHeader设置高度 [英] mPDF set Height for SetHTMLHeader

查看:77
本文介绍了mPDF为SetHTMLHeader设置高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用SetHTMLHeader函数时,可以通过任何方式设置听众的身高吗?

Exist any way to set the Height of hearder when use SetHTMLHeader function?

默认情况下,第一页的大小是正确的,但在下一页中,内容将覆盖页眉的末尾部分.

In the first page the size by default is correct but in the next pages, the content overwrite the end part of the header.

问候,奥斯卡.

推荐答案

最后使用它:

$this->mpdf->mPDF('utf-8','A4','','','15','15','28','18'); 

15=margin-left15=margin-right28=margin-top18=margin-bottom

现在效果很好. 此致,奥斯卡奖

And now works well. Regards, Oscar

这篇关于mPDF为SetHTMLHeader设置高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆