Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
5826 Prikazi

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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
mar. 24
1645
2
feb. 18
7921
1
dec. 22
4121
2
dec. 22
6436
0
sep. 22
5533