Forum Moderators: not2easy
You can view the test page at < sorry, no test pages - see Charter [webmasterworld.com] >
Below is the source code:
<html>
<head><meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
<style type="text/css">
.own-page { page-break-before: always; }
</style>
</head>
<body>
These 2 cards should each print on their own page, but the
table cell extends to the following page as well so that
I print out an extra page for each card.
What am I doing wrong?
<hr>
<center>
<table class='own-page' cellpadding='0' border=1>
<tr>
<td valign='center' align='center' width='150' height='125'>
<img src='nothing.jpg' width=135 height=45>Card 1
</td>
</tr>
</table>
</center>
<center>
<table class='own-page' cellpadding='0' border=1>
<tr>
<td valign='center' align='center' width='150' height='125'>
<img src='nothing.jpg' width=135 height=45>Card 2
</td>
</tr>
</table>
</center>
</body>
</html>
[edited by: tedster at 7:05 pm (utc) on Aug. 16, 2008]