I would like to show header and footer on page during print. So the I use code which is:
<table align="center">
<thead style="display: table-header-group;">
<tr>
<td>
Header
</td>
</tr>
</thead>
<tbody> Body data</tbody>
<tfoot style="display: table-footer-group; bottom:0;">
</tfoot>
</table>
Header and content are shown correctly. Footer also show is correct as at the end of each page. But Issue is when last page content only one line, footer show after that line instead of page bottom.