页脚始终在底部,除非网站大小>浏览器窗口 [英] Footer always at bottom unless website size > Browser Window
问题描述
也许你们可以帮助我.
^ ] [ ^ ]
如果您访问该网站,则会注意到页脚始终在底部,除非您将浏览器的大小调整得如此之小,以至于创建了滚动条.
我有一个宽度为100%的页脚,看起来像该网站上的页脚,并且我希望具有类似的功能.
我已经尝试了一些方法,但是我无法使其正常工作.我正在使用JQuery,所以如果你们认为使用它更容易,请继续.
我打赌它很小,但我只是不知道.
预先感谢.
Maybe you guys can help me.
http://www.3dmark.com/hall-of-fame/3dmark-11-top-20-performance-preset/[^][^]
If you go to the website, you will notice the footer is always at the bottom, UNLESS you re-size your browser so small that a scroll bar is created.
I have a footer that is width @ 100%, and looks like the one on that website, and i would love to have a similar function.
I have tried a few things, but i just can not get it to work. I am using JQuery, so if you guys think it is easier using that, go ahead.
I bet its small, but i just do not know it.
Thanks in advance.
推荐答案
是的,非常简单而且有趣.该页面的该部分的样式似乎在此处定义: http://www.3dmark.com/wp-content/themes/3dmark11/orb/styles/orb.css [
Yes, pretty simple and interesting. It looks like the styles for this part of the page are defined here: http://www.3dmark.com/wp-content/themes/3dmark11/orb/styles/orb.css[^].
Download this file with the source code of the page you reference and see how it works.
—SA
这篇关于页脚始终在底部,除非网站大小>浏览器窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!