You are here: Re: inserting a page break « HTML « IT news, forums, messages
Re: inserting a page break

Posted by jose on 03/09/07 20:36

On Mar 9, 10:48 am, "Mike Minor" <mminor...@earthlink.net> wrote:
> Here is what I've used in the past...
>
> <style type="text/css">
>
> DIV.page { page-break-after: always; }
>
> </style>
>
> then create divisions in the page where you want the page breaks.
>
> <div class="page">
>
> ....stuff to be printed on the page
>
> </div>
> A page break will follow the </div>. Repeat the <div class="page">, add
> additional stuff for the subsequent pages, followed by </div> where you want
> page breaks.
>
> THe problem with this method is not knowing how many lines a user's printer
> allows per page. To use this with any success, you pretty well have to have
> a captive audience, all have the same set up on their printes as far as top
> and bottom margins are concerned. It works well in an intranet environment
> where you have some control over your user's, but as for internet use, it's
> pretty much hit and miss, I think.
>
> Good luck....
>
> Mike Minor
> Z-Code Systems, Inc,
>
> "Rik" <luiheidsgoe...@hotmail.com> wrote in message
>
> news:op.tot2wdvkqnv3q9@misant...
>
> jose <jic...@gmail.com> wrote:
>
> > Greetings.
>
> > I would like to insert a page break in the HTML code to allow for a
> > page break when someone prints that page. Is this possible?
>
> > Any help would be greatly appreciated.
>
> <http://www.google.com/search?q=css+print+page-break>
>
> --
> Rik Wasmus
> Posted on Usenet, not any forum you might see this in.
> Ask Smart Questions:http://tinyurl.com/anel

This is great! Thanks!

 

Navigation:

[Reply to this 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

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