Ok... this is not a PHP question and it probably doesn't deserve as much attention as I would give it...
However, I can see the 2-3 pixel problem you have in the two versions... to the naked eye, its no big deal - why worry about it when the length of your page extends past the screen anyway?
I think I have better things to do with my time than hunt down a 3 pixel HTML problem 😃
Off hand though, why not debug it by cutting out the first two rows of the table at the top, then and pasting it into another html file as so:
<table>
<tr>
</tr>
<tr>
</tr>
</table>
Monkey with it, then add another row in to see what happens...
Kerry Kobashi
Kobashi Computing