I do not have this problem with IE9, Firefox and Opera. Just Chrome and Safari.
When printing a page, if at some point there is a table that needs to be broken to continue on the next page, Safari and Chrome will cut the line in half and print the top half on the first page, and the bottom half on the second page.
Here is the code that I was trying to use that fixed the problem I encountered with IE9 - printing a small image of 50 pixels x 50 pixels in size on each line on the next page with text on the first page.
table { page-break-inside:auto } tr { page-break-inside:avoid; page-break-after:auto }
I have 7 pages with a different number of lines on average about 10-15 lines. What can I do to fix this problem?
And I use PHP foreach to create a table from an array, so I wonβt need to edit this code so that I can maintain it consistently between pages.
css printing tablerow
user2108555
source share