Nivo 滑块在 IE 中显示问题

发布于 2024-11-17 10:05:43 字数 363 浏览 2 评论 0原文

我正在使用 Nivo Slider,并且遇到了“堆叠”问题 - 所有图像最初都加载在彼此之上。我已尝试 http://nivo.dev7studios.com/support/ 中描述的此问题的解决方法但这会导致图像在 IE 中根本不显示。我还尝试过在样式标签中包含“display:none”的解决方法,但这在 IE 中具有相同的效果。您可以在 http://www.rooftopdrinker.com 中查看该代码,目前还没有解决方法。任何建议将不胜感激。

I am using Nivo Slider, and am experiencing the "stacking" problem -- with all of the images initially loading on top of each other. I have tried the workaround for this problem described at http://nivo.dev7studios.com/support/ but this results in the images not displaying at all in IE. I have also tried the workaround of including "display:none" in the style tag but this has the same effect in IE. You can see the code, currently without the workaround, at http://www.rooftopdrinker.com. Any advice would be appreciated.

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

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

发布评论

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

评论(1

紫﹏色ふ单纯 2024-11-24 10:05:43

我相信有关 IE 盒模型的某些内容混淆了 Nivo 代码。

添加此 CSS 规则似乎可以解决此问题:

#slider { height: 355px; }

I believe something about IE's box model confuses the Nivo code.

Adding this CSS rule seems to fix it:

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