日期:2014-05-17  浏览次数:20699 次

IE 6 中table tr后的间距怎么去掉。

像图片上的这种table布局里面tr后面自动产生的间距怎么去除?就IE6不行。IE8及其他以上都OK。
现在是用CSS 的border-collapse:collapse整的
<style type="text/css">
tr td { padding:0px; }
</style>
<body style="margin:0;padding:0;text-align:center;">
<table style="background-color:#dd015b;width:800px;margin:0 auto; border-collapse:collapse; cellspacing:0; border:0;">


在线等大神啊!
------解决方案--------------------
cellspacing = 0 cellpadding = 0