Replic header in each page when convert HTML to PDF

Certified Associate Developer
Hi!
I am trying to generate a pdf document from an html using the "HTML to PDF" plugin.

The html structure used is the following:
// HTML <table>
<thead><tr><td>
<div class="header-space">&nbsp;</div>
</td></tr></thead>
<tbody><tr><td>
<div class="content">...</div>
</td></tr></tbody>
<tfoot><tr><td>
<div class="footer-space">&nbsp;</div>
</td></tr></tfoot>
</table>
<div class="header">...</div>
<div class="footer">...</div>
// CSS.header, .header-space,
.footer, .footer-space {
height: 100px;
}
.header {
position: fixed;
top: 0;
}
.footer {
position: fixed;
bottom: 0;
}


The problem comes when transforming to PDF. It works by replicating the header, but from the second page the content overlaps the header.




My cloud version is 22.3

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data