Make sure you specify in your table tag's attributes:

cellspacing=0 cellpadding=0

If you don't it will pad the cells. You didn't post your table tag before, but that could be the problem as well.