Reputation:
I'm trying to include the header (thead
) of a table on the top of every page generated by Pechkin (wrapper for wkhtmltopdf), but it doesn't seem to work at all. Is this feature even available or am I missing something?
I've tried including the following into the pages CSS:
table { page-break-after: auto; }
tr { page-break-inside: avoid; page-break-after: auto; }
td { page-break-inside: avoid; page-break-after: auto; }
thead { display: table-header-group; }
tfoot { display: table-footer-group; }
Upvotes: 2
Views: 1271
Reputation: 12855
I'm afraid the answer is that this isn't possible. The only thing you can probably do is put the table header in the PDF header.
Upvotes: 0