Skip to Content
Menú
This question has been flagged
1 Respondre
5841 Vistes

Hello everyone...

Please I am trying to make a page break so that each line of the sales order is on a page,
 any suggestions?

Already tried:

 <p style = "page-break-before: always;"> </p>
 <p style = "page-break-after: always;"> </p>
At the end of the loop and initial too

Avatar
Descartar
Best Answer

Did you have content inside the <p> tag of the two you mentioned? Try by adding some contents. 

You should also try one of these tags and have some contents inside the <p> tag:

<div style="page-break-after: auto;"><span style="display: none;"> </span></div>

<p style="page-break-inside: avoid"></p>

<div style="page-break-inside: auto"></div>

I hope one of the works!


Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de març 24
1653
2
de febr. 18
7940
1
de des. 22
4125
2
de des. 22
6452
0
de set. 22
5548