This is an archived forum post. The information may be outdated. Contact us if you have any questions.

my pages don't show correctly after generating pdf

nadine wrote on 2016-12-14:
Hi ,

I have a problem when generating my pdf is that in the end of each page the content of my divs is splinting instead of breaking page and show the hall content correctly. The content is dynamic so I can't control number of divs in each section any ideas please. Thanks
support wrote on 2016-12-19:

You can try to set "page-break-inside: avoid" on the affected divs:
// CSS
div.non-breakable { page-break-inside: avoid; }

<div class="non-breakable">