html table border is not consistent in IE6.0 and f

2020-05-03 10:02发布

In my html table I have used a border. But my border is inconsistent in IE 6.0 and firefox. In IE border-bottom's height is more than expected but in Mozilla it is same on all borders.

Images for Firefox and IE respectively:

enter image description here enter image description here

<table>
 <tr>
  <td style="width:90%;border:2px solid #3399FF;">this is demo</td>
 </tr>
</table> 

Please tell me how to make it consistent.

1条回答
走好不送
2楼-- · 2020-05-03 10:39

This sounds like a IE box model issue to me. See this http://lloydom.blogspot.com/p/technical-stuff.html and scroll down to the IE 6 BOx model heading

查看更多
登录 后发表回答