Page break in printable HTML Page

Hi,

i’m actually working on the printable parts of my app.
The thing is the document i want to print is organized in a way where i have to put some page break at specific places.
as far as i’ve read, (mainly here : Good page break (Add custom CSS to group)), the solution is to use the HTML element to put a page break.
i’ve done this :

.pagebreakb { page-break-before: always; } .pagebreaka { page-break-after: always; }
-

But nothing happens (meaning no page break) when hitting Ctrl+P to print the page…

Any hint or other solution ?

Thanks !

Best regards,

2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.