[thelist] Re: How can I throw a page when printing a web page?

Joel Morris joelm at citycent.com
Sat Jul 12 11:24:05 CDT 2003


> From: tjohn at johnallsopp.co.uk
> Subject: [thelist] Re: How can I throw a page when printing
> a web page?
>
>
> > I've developed a web-site that's supposed to double-up as
> a brochure and
> > the client wants to print the whole thing with one
> command. [snip] Is there
> > something I can insert to throw a page, a printer escape
> sequence maybe?


Here is what I've done recently, although I did not test it
extensively.

In your style sheet:
     	p.breakhere {page-break-after: always}

In your code where you want to force a page break:
	<p class="breakhere"></p>

Joel Morris
-------------------------------
CityCenter Co.
Website Development & Marketing
http://www.citycent.com
mailto:joelm at citycent.com



More information about the thelist mailing list