Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5783 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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!


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 24
1611
2
thg 2 18
7886
1
thg 12 22
4069
2
thg 12 22
6382
0
thg 9 22
5457