0

I tried to use page-break-inside and page-break-after to prevent the table rows (Which I set to display: block) from breaking at the end of the page. But it doesn't seem to work. Here's a screenshot :

enter image description here

Here's the sample code I used for it : http://codepen.io/THpubs/pen/YWNWvr

Any idea how to fix it?

I tried the code in the question How to deal with page breaks when printing a large HTML table But still I get the same results.

Community
  • 1
  • 1
THpubs
  • 7,804
  • 16
  • 68
  • 143

0 Answers0