First time poster =)
I am currently facing an issue while trying to print a long table and have the table header repeat on each page. The problem arises when the height of the <thead>
reaches a certain threshold, specifically 242px in Chrome 87.0.4280.88 with default margins. When the header exceeds this height, it only prints once on the first page. Adjusting the page margins does provide some flexibility, but I am looking for a workaround that would allow me to print a taller <thead>
on every page without modifying the margins. I have searched for documentation regarding this issue but have not found a solution yet, so any help would be greatly appreciated.
<table>
<thead>
<th style='height: 242px'>if this was 241px it would print on every page</th>
</thead>
<tbody>
<tr><td>anything</td></tr> <!-- repeat this process enough times to span multiple pages -->
</tbody>
</table>
Thanks in advance!