Hi
I'm having an issue where setting a table's border-spacing to 0 doesn't seem to quite be 0; I see a thin line in the PDF where in a browser I don't.
Simplified example:
<html>
<body>
<h1>Whatever</h1>
<table style='border-spacing: 0' width='700'>
<tr><td>Top cell</td></tr>
<tr bgcolor="#5a843b"><td>Hi</td></tr>
<tr bgcolor="#5a843b"><td>There</td></tr>
</table>
</body>
</html>
...and you will see a thin white line between the second and third rows.
Interestingly enough, if there's nothing above the table (i.e., remove the h1 in the above example), it renders as it should, no line between second and third rows.
Am I doing something wrong? I don't have much control over the HTML.
Thanks in advance for the help!
I'm having an issue where setting a table's border-spacing to 0 doesn't seem to quite be 0; I see a thin line in the PDF where in a browser I don't.
Simplified example:
<html>
<body>
<h1>Whatever</h1>
<table style='border-spacing: 0' width='700'>
<tr><td>Top cell</td></tr>
<tr bgcolor="#5a843b"><td>Hi</td></tr>
<tr bgcolor="#5a843b"><td>There</td></tr>
</table>
</body>
</html>
...and you will see a thin white line between the second and third rows.
Interestingly enough, if there's nothing above the table (i.e., remove the h1 in the above example), it renders as it should, no line between second and third rows.
Am I doing something wrong? I don't have much control over the HTML.
Thanks in advance for the help!