Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
5738 Представления

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

Аватар
Отменить
Лучший ответ

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!


Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
мар. 24
1582
2
февр. 18
7852
1
дек. 22
4018
2
дек. 22
6296
0
сент. 22
5400