線幅borderとセルとセルの間の余白cellspacingを調整すればぴったりにできます。詳しくは http://www.geocities.jp/digitwland/table.html を見てください。