How to avoid this issue, I want to avoid splitting the card into second pages. Thank you so much for your attention.
CodePudding user response:
if your pdf is generated from html, then you can use css control the page display. try add line in every page tail
<div style="break-after: always;"></div>
after this line, content will split to next page.
read doc here
CodePudding user response:
Try setting margin: auto, can you share your code for better understanding