Reply to Re: How to add a page break to a HTML page

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация