XwBrendanXw
Programmer
I have a bit of a problem with printing web pages in Firefox.
The page is actually an invoice, with a table containing all the details. When the page is too long for one piece of paper, instead of going on to 2 sheets it just continues off the bottom of the page into nothingness, and the rest doesn't get printed.
In IE it goes onto a second page, but it doesn't split it where the rows are, it cuts off half the text in the bottom row and puts it on the next page.
Does anyone know how I can make it print on 2 pages, properly, without breaking anything? I've tried everything I can think of.
Following is a sample of the HTML for the details part of the page. It's just a simple table, with a few CSS styles applied for borders and font, nothing special.
And a screenshot of the print preview in Firefox (notice at the bottom how it continues off the page):
I hope I've explained the problem clearly enough.
Any suggestions are much appreciated...
The page is actually an invoice, with a table containing all the details. When the page is too long for one piece of paper, instead of going on to 2 sheets it just continues off the bottom of the page into nothingness, and the rest doesn't get printed.
In IE it goes onto a second page, but it doesn't split it where the rows are, it cuts off half the text in the bottom row and puts it on the next page.
Does anyone know how I can make it print on 2 pages, properly, without breaking anything? I've tried everything I can think of.
Following is a sample of the HTML for the details part of the page. It's just a simple table, with a few CSS styles applied for borders and font, nothing special.
Code:
<table width="95%" align="center" cellspacing="0">
<tr>
<td width="8%" align="center" class="invoiceheader">Date</td>
<td width="10%" align="center" class="invoiceheader">Order No</td>
<td width="36%" class="invoiceheader">Recipient Name</td>
<td width="17%" align="center" class="invoiceheader">Suburb</td>
<td width="10%" align="center" class="invoiceheader">Rate</td>
<td width="10%" align="center" class="invoiceheader" colspan="2">Extras</td>
<td width="9%" align="center" class="invoiceheader">Cost</td>
</tr>
...
<tr>
<td width="8%" align="center" class="invoicerow">03/09/05</td>
<td width="10%" align="center" class="invoicerow">00014</td>
<td width="36%" class="invoicerow">XXXXXXXXX</td>
<td width="17%" align="left" class="invoicerow">MORAYFIELD</td>
<td width="10%" align="center" class="invoicerow">BUDGET</td>
<td width="5%" align="center" class="invoicerow"> </td>
<td width="5%" align="right" class="invoicerow"> </td>
<td width="9%" align="right" class="invoicerow">$20.00</td>
</tr>
...
</table>
And a screenshot of the print preview in Firefox (notice at the bottom how it continues off the page):
I hope I've explained the problem clearly enough.
Any suggestions are much appreciated...