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

淺唱寂寞╮ 提交于 2019-12-02 18:10:05

问题


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:

<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:


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



来源:https://stackoverflow.com/questions/8305638/html-table-border-is-not-consistent-in-ie6-0-and-firefox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!