IE 中的粘性页脚问题 - 使用 WordPress

发布于 2024-09-10 05:53:55 字数 243 浏览 9 评论 0原文

我修改了一个 WordPress 模板,除其他外,它有一个粘性页脚,当屏幕填满内容时,该页脚会被按下。在非 IE 浏览器中一切都运行良好,但在 IE 中却出现了严重错误。页脚有粘性,但不能向下推。加分点:在 IE 中,标题似乎也已关闭。可能相关...

网站:http://www.hospiceball.com/wp

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...

site: http://www.hospiceball.com/wp

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

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

发布评论

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

评论(1

握住我的手 2024-09-17 05:53:55

您的页面在 IE8 上以 Quirks 模式呈现。当我强制浏览器以标准模式渲染时,就达到了你想要的效果。当我查看源代码时,您

<div id="wrapper">

前面有一个 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

<div id="wrapper">

preceding your DOCTYPE declaration. That is what is causing the Quirks Mode to engage.

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