I need to generate a bunch of tables each with a header(<thead> made out of two <tr>). The tables than need to be printed. A single table should not break inside unless it’s too long for one page, the header should than get repeated. Header should never be split onto two pages. I have noticed that page-break-inside: avoid does not work in Firefox < 19. Is there any workaround for it? As for now my tables and my headers break whenever they want.
I need to generate a bunch of tables each with a header( <thead> made
Share
MDN says that Firefox 19 is the earliest version to support the
page-break-insideproperty. Looks like you’re out of luck.https://developer.mozilla.org/en-US/docs/CSS/page-break-inside
Maybe you can find something useful from this question: alternative to page-break-inside:avoid because of compatibility issues