+ Start a Discussion
beenerbeener 

PDF new page

Hi All,

When rendering a Visualforce page as PDF , does anyone know how to create a page break? (Force a new page)

Thanks so much

Ben
Best Answer chosen by Admin (Salesforce Developers) 
JeremyKraybillJeremyKraybill
To save future people time, since I just had to look this up on the boards and had to go through a bunch of posts including this one, it's

<div style="page-break-after: always;">&nbsp;</div>

or similar.

HTH

Jeremy

All Answers

Jon Mountjoy_Jon Mountjoy_
Hi Beener

Just search for:
 PDF "page break"
and you'll find a couple of posts answering your question.

Like this one.

Good luck,
Jon
JeremyKraybillJeremyKraybill
To save future people time, since I just had to look this up on the boards and had to go through a bunch of posts including this one, it's

<div style="page-break-after: always;">&nbsp;</div>

or similar.

HTH

Jeremy
This was selected as the best answer