Hi,
Thank you for answering my questions and I have another problem today is that I am trying to print a pdf which is has detail sections in 7 pages, when I print convert html to pdf, it is just print only first page with details and cut off the details with all following pages and overlap footer with detail in the first page.
here my xml
<body header="header" footer="footer" footer-height="10mm" header-height="25mm"> <table width="100%"> <tr> <td> <h2>Quotation</h2> </td> </tr> <tr> <td colspan="3"> <table width="100%"> <tr> <td style="width: 50%;"> <table width="100%" style="border-collapse:collapse;" id="headerTable"> <tr> <th colspan="2" align="center">Reseller Information</th> </tr> <tr> <td style="width: 40%;"><b>Name</b></td> <td>[NAME]</td> </tr> <tr> <td><b>Address</b></td> <td>[ADDRESS]</td> </tr> <tr> <td><b>Contact</b></td> <td>[PCONTACT]</td> </tr> </table> </td> <td style="width: 50%;"> <table width="100%" id="headerTable"> <tr> <th colspan="2" align="center">End user Information</th> </tr> <tr> <td style="width: 40%;"><b>Name</b></td> <td>[ENAME]</td> </tr> <tr> <td><b>Address</b></td> <td>[EADDRESS]</td> </tr> <tr> <td><b>Contact</b></td> <td>[EPCONTACT]</td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td colspan="3"> <table width="100%" id="headerTable"> <tr> <th colspan="4" align="center">Quote Information</th> </tr> <tr> <td><b>Our Ref</b></td> <td>[OURREF]</td> <td><b>Date</b></td> <td>[DATE]</td> </tr> <tr> <td><b>Sales Rep</b></td> <td>[SALESREP]</td> <td><b>Currency</b></td> <td>[CURRENCY]</td> </tr> </table> </td> </tr> <tr> <td colspan="3"> <hr style="width: 100%" /> </td> </tr> <tr> <td colspan="3"> <table width="100%" border="1" > <thead> <tr> <th style="border-right: 1px solid #333;" align="center">No.</th> <th style="border-right: 1px solid #333;" align="center">Brand</th> <th style="border-right: 1px solid #333;" align="center">Product SKU</th> <th style="border-right: 1px solid #333;" align="center">Description</th> <th style="border-right: 1px solid #333;" align="center">Unit Price</th> <th style="border-right: 1px solid #333;" align="center">Quantity</th> <th style="border-right: 1px solid #333;" align="center">Total Price </th> <th style="border-right: 1px solid #333;" align="center">Tax Inclusive </th> <th style="border-right: 1px solid #333;">Remarks</th> </tr></thead> <tbody> [ITEMROWS]</tbody> <tfoot> <tr> <td colspan="6"></td> <th colspan="4">Quote Tax & Total</th> </tr> <tr> <td colspan="6" align="right">Total </td> <td colspan="4" align="right" style="border: 1px solid #333;">[SUBTOTAL]</td> </tr> <tr> <td colspan="6" align="right">Tax </td> <td colspan="4" align="right" style="border: 1px solid #333;">[TAX]</td> </tr> <tr> <td colspan="6" align="right">Grand Total </td> <td colspan="4" align="right" style="border: 1px solid #333;">[TOTAL]</td> </tr></tfoot> </table> </td> </tr> <tr> <td colspan="3"> <hr style="width: 100%" /> </td> </tr> <tr> <th colspan="3" align="center">Terms & Conditions</th> </tr> <tr> <td colspan="3" class="dt_row" style="border:1px solid #333;"> [TERMS] </td> </tr> <tr> <td style="height: 10px;"></td> </tr> <tr> <td>Yours faithfully,</td> <td></td> <td>I/We hereby confirm and accept the price and terms as stated hereof</td> </tr> <tr> <td style="height: 20px;"></td> </tr> <tr> <td align="left" style="border-top:1px solid #333;">[OFFICER]</td> <td></td> <td align="left" style="border-top:1px solid #333;">Name/Signature/Co.Stamp/Date</td> </tr> <tr> <td>[POSITION]</td> <td></td> <td></td> </tr> <tr> <td>[PHONE]</td> <td></td> <td></td> </tr> </table> </body>