Posted by Toby Inkster on 03/09/06 23:24
Stefan Mueller wrote:
> Now I'd like to add a page break between each invoice so that I get one
> invoice per page if I print the HTML page on a printer.
Invoice 1
<hr>
Invoice 2
<hr>
Invoice 3
with CSS:
HR {
page-break-after: always;
}
For the most part, CSS print-specific stuff is fairly badly supported by
most browsers (except Opera, which has excellent CSS support), however,
page-break-after and page-break-before are fairly widely supported.
http://www.westciv.com/style_master/academy/browser_support/printing.html
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
[Back to original message]
|