Forum How do I...?

Hide table header on first page

Hassek
So I am doing a table which page-breaks and I want to show a header on every page but the first one.

Here is some sample code on how I think I could make this work, I only need a way to know the first time the header appears.

<table>
<thead style='display: table-header-group;' class='NotShowOnFirstPage'>
</thead>
<tbody>
blablablabla
</tbody>
</table>
mikeday
You can do this in Prince if you use the table <caption> element and apply "caption-page: following". This does not apply to table headers at the moment, although perhaps it should.