1

So my problem has already been said in the title, I am trying to print a very long table with my header repeated on each page. The behaviour is there when I have 1 header with 1 row. But, what I'm currently having is either 1 of these 2 cases:

  • Multiple headers (multiple thead)
  • 1 header but with multiple rows

Both of the case seems to result in the header not being repeatable. Can anyone show me any workaround this?

-- EDIT 2 --

Some test cases:

  • Firefox 57: Sometimes work, sometimes doesn't with 2 rows at most

  • Chrome 62: Works with 2 rows header/ 2 headers, not working with 3

-- EDIT 1 --

My HTML code is quite simple and nothing much

<table>
    <thead>
        <tr></tr>
        <tr></tr>
    </thead>
    <tbody></tbody>
</table>

or

<table>
    <thead>
        <tr></tr>
    </thead>
    <thead>
        <tr></tr>
    </thead>
    <tbody></tbody>
</table>

I'm currently using bootstrap css so it has already set style @print for my thead.

Tri Nguyen
  • 21
  • 7

0 Answers0