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

Add Page break in HTML while generating PDF

msajid wrote on 2012-08-01:
I want to add page break before each main heading such that each new heading will start from new page. I think it should be more easy if I add some special code for page break in my HTML which I will pass in pdfcrowd class. But I don't know what is that special code for Page Break in Pdfcrowd please help me.
support wrote on 2012-08-01:
Try to add the following CSS rule:
h1 { page-break-before: always; }
jayshree.bhongle wrote on 2012-09-26:
THis doent work
support wrote on 2012-09-26:
@jayshree.bhongle: Please could you post an HTML sample that does not work for you?