Make Chrome Put Table Header At The Top Of Each Page For Long Printed Table
I have a really long table that when printed, spans several pages. Currently, when printing the table, the header row only appears at the very top of the table and not at the top o
Solution 1:
To make this work properly, just make sure you are using the <thead>
and <tbody>
tags in your html like the below. With those elements in place, every major browser I know of will know how to handle the page breaks automatically:
<table>
<thead>
<tr>
<th>Col 1</th>
<th>Col 2</th>
<th>Col 3</th>
<th>Col 4</th>
</tr>
</thead>
<tbody>
<tr>
<td>Row 1</td>
<td>Row 1</td>
<td>Row 1</td>
<td>Row 1</td>
</tr>
....
</tbody>
</table>
Post a Comment for "Make Chrome Put Table Header At The Top Of Each Page For Long Printed Table"