Page-break-inside not working in firefox


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.


MDN says that Firefox 19 is the earliest version to support the page-break-inside property. Looks like you’re out of luck.

Maybe you can find something useful from this question: alternative to page-break-inside:avoid because of compatibility issues

Answered By – cimmanon

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published