I'm using NReco PDFGenerator to create a PDF document from an HTML string. When a table is split over a page break, the table header overlaps the next row in the table (see image below).
Any ideas on how to fix this?
I found that this is fixed by adding the following css:
thead {display: table-header-group;}
tfoot {display: table-row-group;}
tr {page-break-inside: avoid;}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With