CSS 粘性页脚问题
可能的重复:
CSS 粘性页脚
我正在尝试实现 CSS 粘性页脚,但由于某种原因,下一页的页脚和底部:
http://berrisford.gumpshen.com/
相同事情发生在这里:
http://berrisford.gumpshen.com/jobs/executive/senior -executive/
任何帮助将不胜感激
Possible Duplicate:
CSS sticky footer
I am trying to implement the CSS sticky footer but for some reason there is a margin between the footer and bottom of the following page:
http://berrisford.gumpshen.com/
The same thing happens here:
http://berrisford.gumpshen.com/jobs/executive/senior-executive/
Any help would reall be appreciated
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这不适用于 7 之前的 Internet Explorer。我不确定 IE7、IE8 或更高版本中的错误。
This won't work on Internet Explorer older than 7. I'm not sure about the bugs in IE7, IE8 or newer.
你有
margin-top:-60px;
这显然太多了。将其降低到margin-top:-45px;
左右You have
margin-top:-60px;
which is too much apparently. Bring that down tomargin-top:-45px;
or so请提供
padding-bottom:20px
作为容器 ID。我认为它会起作用Please give
padding-bottom:20px
for container ID. I think it will works