Is there a way to generate a page break in HTML ?
Printable View
Is there a way to generate a page break in HTML ?
Do you mean line break eg. <br />?
I mean when you print, you tell the printer to change page.
I usually set a style up like this:
<style media="print">
.pagebreak {page-break-before:always}
</style>
and then assign the style with <... class="pagebreak"..> whenever I want a new page. Have a shufti at http://msdn.microsoft.com/workshop/a...reakbefore.asp for applicable element tags.
Note, though, that this is an IE solution - any netscapers out there have any suggestions?