0

I've seen this question all around, but nothing worked for me. Most of the topics are quite old, so I guess it has to do with the Chrome version. (Chrome 50)

I have a simple table

<table>
  <tr><td>Text</td></tr>
  ...
  <tr><td>Text</td></tr>
</table>

As suggested, I tried adding

table {
  position:relative;
  page-break-inside: auto;
}

and

tr {
  page-break-inside: avoid;
  page-break-after: auto;
}

See this JSFiddle.

The print page does not look as I'd like it to, the page breaks inside a row.

Also, as suggested here I tried setting

 table {
   page-break-inside: avoid;
 }

But this did not work as well. This is how it looksenter image description here I'd want to find a way such that the page break wouldn't 'cut' a row.

Community
  • 1
  • 1
Dragos
  • 776
  • 8
  • 32

0 Answers0