Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inserting a page break in pdf

Status
Not open for further replies.

daniel999

Programmer
Oct 17, 2002
3
SG
Hi

I'm using coldfusion to create a html and then sending it through one of those custom tags to convert it into a pdf file. However I need to include page breaks throughout my document specifically.

I know is it is just html viewed in Internet explorer and printed, all i need to do is in sert this code into the html <head> tag

<STYLE TYPE=&quot;text/css&quot;>
P.breakhere {page-break-before: always}
</STYLE>

And in the main body, if i need a page break, I can just insert the page break activator:

<P CLASS=&quot;breakhere&quot;>

This works fine for html but may I know if there is one for pdf files?

Any help would be greatly appreciated.

Thanks.

Regards,
Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top