Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Force a page break

Status
Not open for further replies.

WayneDoherty

Technical User
Mar 6, 2002
54
0
0
GB
How do I force a page break in a page if visitors want to print.
 
Make them goto a printer friendly page

[Peace][Pipe]
 
You can also use cascading style sheet - although this will only work in certain browsers.

Create a class called something like .breakhere

define the class as follows:
.breakhere {
page-break-before: always;
}

Right where you want the page break, just use the class tag
(i.e. <p class="breakhere">)

Hope this helps!

[cheers]
Cheers!
Laura
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top