Forum Bugs

background bleed-through on border-spacing 0

euler
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!
mikeday
I think this is just a rendering artifact in the PDF viewer. Do you find that the line does not get any bigger even as you zoom in? (In Acrobat 8 on Linux there is actually no line at all, while in xpdf there is a faint one that should not be visible if the PDF is printed).
euler
Ah yes, you are correct. Printing appears fine, and viewing in Adobe Reader instead of the default pdf viewer is also fine. Thanks!