HTML表格边框在IE6.0和Firefox中不一致 [英] html table border is not consistent in IE6.0 and firefox

查看:132
本文介绍了HTML表格边框在IE6.0和Firefox中不一致的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的html表格中,我使用了 border 。但我的边框在IE 6.0和Firefox中不一致。在IE border-bottom 的高度比预期的要高,但在Mozilla中,它在所有边界上都是相同的。

分别用于Firefox和IE的图片:

 < table> 
< tr>
< td style =width:90%; border:2px solid#3399FF;>这是演示< / td>
< / tr>
< / table>

请告诉我如何保持一致。

解决方案

这听起来像是一个IE框模型问题。
请参阅此 http://lloydom.blogspot.com/p/technical-stuff .html 并向下滚动到IE 6 BOx模型标题

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.

解决方案

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

这篇关于HTML表格边框在IE6.0和Firefox中不一致的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆