- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 06:10 AM
Hi,
In the custom pdf one sections should be displayed in a new page. i have used <div class="pageBreak"></div> but this syntax is not working. Can someone help me on this.
Thanks,
Priyanka
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 06:33 AM
Hello Priyanka,
Use PageBreak in your CSS:-
.pageBreak { page-break-after : always; }
.pageBreakBefore { page-break-before : always; }
Then add this to the body where you want the newpage:-
<div class="pageBreak">
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 06:33 AM
Hello Priyanka,
Use PageBreak in your CSS:-
.pageBreak { page-break-after : always; }
.pageBreakBefore { page-break-before : always; }
Then add this to the body where you want the newpage:-
<div class="pageBreak">
Thank you!