home
design & development
Lotus application development
print design
web site development
request a design quote
solutions & consulting
Notes and Domino application development
Lotus Domino administration
Securence Mail Filtering
UNITRENDS backup and recovery
Lotus Notes / Domino Apps
free Lotus Notes apps
hosting
web site hosting
Lotus application hosting
check your mail
request a hosting quote
publishing
media and publishing
sound
client services
help & support
Make Payment
Client Access - Workboard
billing & payment policies
copyright & liability policies
pricing & turnaround policies
privacy statement
contact
e-mail MW
get files
send files
Force Page Break in Domino Web Page
Mindwatering Incorporated
Author: Tripp W Black
Created: 03/07/2001 at 08:37 PM
Category:
Notes Developer Tips
Forms/Subforms
Issue:
Force/control/insert page breaks on a web page.
Code:
CSS2 has a
page-break-before
tag. Use it with a paragraph, table, or div tag to force a break to the next page.
Sample One w/P tag:
<style>
#pbreak {
page-break-before: always;
}
</style>
...
<p id="pbreak" name="pbreak"></p>
Sample Two w/DIV tag
<head>
<style>
@media all {
.pgbreak { display: none; visibility: hidden; }
}
@media all {
.pgbreak { display: block; visibility: visible; page-break-before: always; }
}
</style>
</head>
<body>...
<div class="pgbreak"></div>
...
</body>
previous page
×