火狐浏览器iframe问题

发布于 2024-11-16 03:18:31 字数 368 浏览 5 评论 0原文

下一页 http://uliinternational.com/ 有一个通过 iframe 加载的滑块 它在 Opera 和 chrome(都是最新的)中完美显示,但在 Firefox 中似乎移至右侧 (4) 我似乎不明白 用于插入 iframe 的代码非常简单,

<iframe src="http://uliinternational.com/slider/index.htm" width="100%" height="500"></iframe>

我知道它与搜索框重叠(打算稍后修复),我希望它与这里无关

the following page
http://uliinternational.com/
has a slider that is loaded through an iframe
it displays perfectly in opera and chrome(both latest) but seems to move to the right in firefox (4)
i cant seem to figure it out
the code used to insert the iframe is really simple

<iframe src="http://uliinternational.com/slider/index.htm" width="100%" height="500"></iframe>

i am aware that its overlapping the searchbox( intend to fix that later) and i hope its not relevant here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

○愚か者の日 2024-11-23 03:18:31

这是因为您将样式 display:block 应用于 iframe。

It's because you apply the style display:block to the iframe.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文