When converting HTML to PDF the table footers are not being displayed on every page. I have multiple pages which require a footer on each page. My HTML code is as follows:
<body style="font-family: 'Liberation-Mono'; font-size: 12px; margin:0; padding:0;">
<table style = "width: 100%;
page-break-after: always;
page-break-before: always;
display: table-header-group;
display: table-footer-group;">
<thead style="display: table-header-group;">
<tr>
<td colspan="3" style="text-align: left">
TC5_Good.xml
</td>
<td colspan="5" style="text-align: center">
***UNDETERMINED_CLASSIFICATION***
</td>
<td colspan="2" style="text-align: right">
2024-04-02
</td>
</tr>
<tr>
<td bgcolor="#D0E5EC">Wing<br>Number</th>
<td bgcolor="#D0E5EC">Squadron</th>
<td bgcolor="#D0E5EC">Flight</th>
<td bgcolor="#D0E5EC">Launch<br>Facility</th>
<td bgcolor="#D0E5EC">Latitude<br><br>(DD MM SS.SSSSS)</th>
<td bgcolor="#D0E5EC">Latitude<br><br>(DD.DDDDDDDDD)</th>
<td bgcolor="#D0E5EC">Meridian<br>Deflection<br>(sec)</th>
<td bgcolor="#D0E5EC">Prime Verical<br>Deflection<br>(sec)</th>
<td bgcolor="#D0E5EC">Gravity<br><br>(ft/sec^2)</th>
<td bgcolor="#D0E5EC">Date<br><br>(MM/DD/YYYY)</th>
</tr>
</thead>
<tfoot style="display: table-footer-group;">
<tr>
<td colspan="10" style="text-align: center">
***UNDETERMINED_CLASSIFICATION***
</td>
</tr>
</tfoot>
<tbody>
.....
</tbody>
</table>
<table style = "width: 100%;
page-break-after: always;
page-break-before: always;
display: table-header-group;
display: table-footer-group;">
<thead style="display: table-header-group;">
<tr>
<td colspan="3" style="text-align: left">
TC5_Good.xml
</td>
<td colspan="5" style="text-align: center">
***UNDETERMINED_CLASSIFICATION***
</td>
<td colspan="2" style="text-align: right">
2024-04-02
</td>
</tr>
<tr>
<td bgcolor="#D0E5EC">Wing<br>Number</th>
<td bgcolor="#D0E5EC">Squadron</th>
<td bgcolor="#D0E5EC">Flight</th>
<td bgcolor="#D0E5EC">Launch<br>Facility</th>
<td bgcolor="#D0E5EC">Latitude<br><br>(DD MM SS.SSSSS)</th>
<td bgcolor="#D0E5EC">Latitude<br><br>(DD.DDDDDDDDD)</th>
<td bgcolor="#D0E5EC">Meridian<br>Deflection<br>(sec)</th>
<td bgcolor="#D0E5EC">Prime Verical<br>Deflection<br>(sec)</th>
<td bgcolor="#D0E5EC">Gravity<br><br>(ft/sec^2)</th>
<td bgcolor="#D0E5EC">Date<br><br>(MM/DD/YYYY)</th>
</tr>
</thead>
<tfoot style="display: table-footer-group;">
<tr>
<td colspan="10" style="text-align: center">
***UNDETERMINED_CLASSIFICATION***
</td>
</tr>
</tfoot>
<tbody>
.....
</tbody>
</table>
The table header is being display on every page. The “display: table-footer-group” should cause the footer to be display on every page but it only shows up under the table header at the beginning of each table.