Page Break for Printed Web Pages
After I get my invoice to be printed differently from screen, I need to have page breaks for invoices that have more than 1 page. The way to achieve it, is to use CSS, again.
It's just as simple as putting the following code at wherever you need the page break:
<div style="page-break-after: always;"></div>
Also note that there's also page-break-before which you can specify a page break before some tags.
Share this article: del.icio.us | digg it
Tags: CSS
Related posts: