TCPDF: HTML table and page breaks

后端 未结 8 1355
刺人心
刺人心 2021-01-31 04:04

I am creating a large HTML table and I have problem with page breaks as you can see in the following image:

Is there a method settle down the problem automatically? Or

8条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-31 04:40

    For the interested, just do as follows and it will work like a charm:

    $pdf->SetMargins(0, 0, 0);
    $pdf->SetHeaderMargin(0);
    $pdf->SetFooterMargin(0);
    

提交回复
热议问题