IE 中的粘性页脚问题 - 使用 WordPress
我修改了一个 WordPress 模板,除其他外,它有一个粘性页脚,当屏幕填满内容时,该页脚会被按下。在非 IE 浏览器中一切都运行良好,但在 IE 中却出现了严重错误。页脚有粘性,但不能向下推。加分点:在 IE 中,标题似乎也已关闭。可能相关...
I've modified a wordpress template so that, among other things, it has a sticky footer that gets pushed down when the screen fills with content. Everything is working beautifully in non-IE browsers, but something's horribly wrong in IE. The footer's sticky, alright, but doesn't push down. Bonus points: The header, In IE, also appears to be off. Could be related...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的页面在 IE8 上以 Quirks 模式呈现。当我强制浏览器以标准模式渲染时,就达到了你想要的效果。当我查看源代码时,您
前面有一个 DOCTYPE 声明。这就是怪癖模式发挥作用的原因。
Your page is rendering in Quirks Mode on IE8. When I forced the browser to render in standards mode, the effect you desire was achieved. When I viewed the source, you have a
preceding your DOCTYPE declaration. That is what is causing the Quirks Mode to engage.