Internet Explorer 8/9 中的 jQuery Gallaria 1.2.3 渲染问题
我一直在使用 jQuery 幻灯片“Gallaria”。使用 Internet Explorer 8/9 时出现呈现问题,如下所示:单击此处。我不确定为什么它会渲染它而不是“全屏”。我已经在 Firefox4、Chrome 和 Safari 上测试了同一页面,它们似乎都按预期呈现了它。
我尝试使用 Firebug 来查明加载是否存在任何问题,但没有发现任何问题。我从头开始重新实现了 Gallaria 并深入研究了文档。我似乎无法确定为什么在 Internet Explorer 中它的行为如此,而在其他浏览器中则不然。
我已将此页面上传到此目录:单击此处
I've been working with jQuery slideshow "Gallaria". There is a rendering issue when using Internet Explorer 8/9 that looks like: click here. I am not sure why its rendering it out so its not "fullscreen." I've tested the same page on Firefox4, Chrome and Safari and they all seem to render it as intended.
I've tried to use Firebug to find out if there are any issues on load and I have not found anything. I've reimplemented Gallaria from scratch and dug through the documentation. I can't seem to pinpoint why in Internet Explorer it behaves like this and not in the other browsers.
I have a uploaded this page to this directory: click here
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题是您的页面处于Quirks 模式。
看来您不小心从 HTML 顶部删除了此 doctype 行:
将其添加回来(作为第一行),它将在 IE 中正常工作。
您还应该修复此行:
进入此:
以及此行:
进入:
您还缺少
html
; 的结束标记;在末尾添加。
The problem is that your page is in Quirks Mode.
It looks like you've accidentally deleted this doctype line from the top of your HTML:
Add that back in (as the very first line), and it will work properly in IE.
You should also fix this line:
into this:
And this line:
into:
You're also missing a closing tag for
html
; add</html>
at the end.