【发布时间】:2023-04-02 05:50:02
【问题描述】:
我在 Internet Explorer 7/8 中有一个类似 Facebook 的按钮让我很烦(这在 Firefox、Google Chrome 或 IE9(+) 中不会发生)
我想摆脱白色区域,但如何?相关的 HTML 和 CSS 是
<div class="fbstuff">
<div style="margin-top:3px;margin-left:15px;float:right;">
<iframe src="http://www.facebook.com/plugins/like.phphref=http://www.bnano.eu&layout=button_count&locale=en_US" scrolling="no" frameborder="0" style="border:none; width:200px; height:80px"></iframe>
</div>
</div>
我不知道为什么会出现白色区域,而且这似乎只发生在 =Here's 实时链接。谢谢。
【问题讨论】:
-
填充:0;边距:0; ?
-
你似乎使用宽度来设置右边距?为什么不使用 margin-right 和跳过宽度/高度?
标签: html css graphics components