0

I am using this library HtmlToPdfDocument to convert HTML into PDF document. I have this HTML.

Stop# Order Number Ln# From Whse Item Number Item Description Lot Number Line Weight Schedule Qty1 UM1
            <th id='th11' style='width: 5%; font-family: Arial; font-size: 10.50pt; font-weight: normal; border-bottom: 1px dotted black;'>Schedule Qty2</th>
            <th id='th12' style='width: 5%; font-family: Arial; font-size: 10.50pt; font-weight: normal; border-bottom: 1px dotted black;'>UM2</th>
            <th id='th' style='width: 5%; font-family: Arial; font-size: 10.50pt; font-weight: normal; border-bottom: 1px dotted black;'>Delv Type</th>
        </tr>
    </thead>
    <tbody style='font-family: Arial; font-size: 12.50pt;page-break-after: always;'>
        {{tddriverInfo}}
        {{tdOtherInfo}}
        {{tdtags}}
    </tbody>
</table>
</div></br>

But when I load data and covert into PDF, The tbody data is overlapping with the table header in the next page.

enter image description here

How can I load tbody data under table header in the next page as we are loading in the 1st page.

I tried searching other help and I did some changes like using Margins etc..

0 Answers0