Rank: Newbie Groups: Member
Joined: 8/1/2011 Posts: 2
|
With the following html I'm getting an unwanted border along the right edge of the first column when using the ConvertHTML function in HtmlToPdf.
<table border="0" style="font-size: 12px; width: 100%; border-collapse: collapse; border-spacing: 0;" id="QuoteTotalTable">
<tbody> <tr>
<td style="width: 60%; vertical-align: top; border-right: none;" rowspan="4"> <span style="font-size: x-small;" id="QuoteTrailerLabel">This is<br>where<br>some<br>long<br>amount of<br>text<br>would go<br></span> </td> <td style="border: 1px solid black; width: 20%; font-weight: bold; text-align: right"> <span id="QuoteSubTotalHeadingLabel">Sub Total</span> </td> <td style="border: 1px solid black; width: 20%; text-align: right; padding-right: 5px"> <span id="QuoteSubTotalAmountLabel">$3,944.36</span> </td> </tr> <tr> <td style="border: 1px solid black; width: 20%; font-weight: bold; text-align: right"> <span id="QuoteTaxRateHeadingLabel">Tax Rate (7.375%)</span> </td> <td style="border: 1px solid black; width: 20%; text-align: right; padding-right: 5px"> <span id="QuoteTaxAmountLabel">$290.90</span> </td>
</tr> <tr> <td style="border: 1px solid black; width: 20%; font-weight: bold; text-align: right"> <span id="QuoteTotalHeadingLabel">Total</span> </td> <td style="border: 1px solid black; width: 20%; text-align: right; padding-right: 5px"> <span id="QuoteTotalAmountLabel">$4,235.26</span> </td>
</tr> <tr>
<td style="border: none"></td> <td style="border: none"></td>
</tr> </tbody> </table>
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Please use Google Chrome to verify your HTML. Different browsers can render the same HTML differently. Our rendering is most close to Google Chrome.
Thanks!
|