html – 空格边框不会在表tr中消失

html – 空格边框不会在表tr中消失,第1张

概述我有这个通讯标记: <table width="600" align="center" cellpadding="0" style="font-family:verdana,'Myriad Pro', Arial; border-collapse:collapse; border-spacing:0;"> <tr valign="bottom" height="127" style="p 我有这个通讯标记:

<table wIDth="600" align="center" cellpadding="0"  >    <tr valign="bottom" height="127"  >        <td height="141" valign="bottom">                            <img wIDth="608" height="141" src="http://toniweb.us/m/demos/headPildoraLarge.png" />                                        </td>    </tr>    <tr>                      /*Rest of table ommited*/    </tr>

事情是< tr>之后包含headPildoraLarge.png img底部有一个~2px的间隙,我无法删除…

这在Outlook IE 5,6,7(不是FF,ie8或其他)中可见,但在这种情况下是tarjet ….

我怎样才能消除这个差距?

完整的HTML动作:http://toniweb.us/m/demos/

解决方法 在你的CSS中写这个:

img{ border:0; vertical-align:top;}
总结

以上是内存溢出为你收集整理的html – 空格/边框不会在表tr中消失全部内容,希望文章能够帮你解决html – 空格/边框不会在表tr中消失所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1048097.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-25
下一篇 2022-05-25

发表评论

登录后才能评论

评论列表(0条)

保存