Page Break

Does anyone know how to add some code into the page so that wehn someone views the web page and decides to print then the text doesnt run-over i.e. section 1 prints on page 1 and section 2 prints on page 2 - in other words having a page break before section 2?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

That can be done via a style sheet that is designed for Printing
Two recognised properties are page-break-before and page-break-after so you could a heading always apear at the top of of a printed page then you would use the page-break-before so the heading is always at the top
and likewise a footer can alwaysend a page by using page-break-after
the two class styles would be

.break_before { page-break-before: always; }

.break_after { page-break-after: always; }

I hope this is what you had in mind
kind regards max


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

God I just read that mess I just wrote… I wish I could amend that message… :o(
what it should have been was…

This can be done via a style sheet that is designed for Printing.
Two recognised properties are:
page-break-before and page-break-after
So you could create a heading which will always apear at the top of a printed page.
You would use the page-break-before, so the heading is always at the top.
Likewise a footer can always end a printed page by the use of the page-break-after

The two class styles would be:

.break_before { page-break-before: always; }

.break_after { page-break-after: always; }

I hope this is what you had in mind kind regards
max… dyslexia rules ko… :o)


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options