As shown in two images, after the 5th page in my printed report the header begin to be broken on two pages and all the styles are broken.
CSS:
table {
page-break-inside: auto;
}
tr {
page-break-inside: avoid;
page-break-after: auto;
}
thead {
display: table-header-group;
}
tfoot {
display: table-footer-group;
}