10
Views
2
Comments
[Ultimate PDF] Overlap content and duplicated table header
ultimate-pdf
Reactive icon
Forge asset by Leonardo Fernandes
Application Type
Traditional Web

I am working with O11 and I’m facing an issue when printing / exporting a long HTML table to PDF

The table spans multiple pages and I need the table header (thead) to repeat on each page. I’m using:

thead {  display: table-header-group;}

The header does repeat correctly, but on the next page the table body content overlaps the repeated header.

Is there a reliable way to prevent table body rows from overlapping repeated headers when printing multi-page tables in Chromium-based PDF generation?
Or is this a known limitation / bug with no fully stable CSS-only solution? 


UserImage.jpg
Le Quang Trieu

Thank for your response, but Most of the URLs above describe instances of overlap between the page header and the table data; in my case, it's an overlap between the header table and the data table.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.