MPDF set Height for SetHTMLHeader

Is there a way to set the height of the listener when using the SetHTMLHeader function?

On the first page, the default size is correct, but on the following pages, the content overwrites the final portion of the header.

Best regards, Oscar.

+3


source to share


1 answer


Finally, use this:

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

      



When 15=margin-left

, 15=margin-right

, 28=margin-top

,18=margin-bottom

And now it works well. Best regards, Oscar

+8


source







All Articles