Creating Page Breaks in Outlook 2007 HTML E-mails
Posted on 2011-02-17
Our software generates 100+ page e-mails in HTML format, separating each page using
<div style="page-break-after: always;"> </div>
This is so when printed, each page breaks exactly where we expect it to (we are generating invoices).
If the entire document is e-mailed to a computer using Outlook 2003, and then sent to a printer, everything prints as expected.
If the entire document is e-mailed to a computer using Outlook 2007, and then sent to a printer, it ignores our page break commands.
I realize Outlook 2007 uses a different HTML rendering engine -- my question is what is the work around? What can we replace <div style="page-break-after: always;"> </div> with so it generates a page break command upon printing, preferably a solution that works in both Outlook 2003 and Outlook 2007?