Jump to Real's How-to Main page

Forcing a FormFeed when printing a page

Using StyleSheet, it's easy to force a page break when printing a page.
<table>
  <tr><td>Page 1</td></tr>
</table>

<table style="page-break-before: always">
  <tr><td>Page 2</td></tr>
</table>

If you find this article useful, consider making a small donation
to show your supportfor this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]