【发布时间】:2012-03-19 19:21:20
【问题描述】:
我正在使用 jQuery 菜单幻灯片,但我的页脚有一些问题。
当我放大时,我的页脚与我的所有其他内容重叠。因此,如果您以较小的分辨率看到该网站,您将无法获得所有内容。
我已尝试删除绝对位置,但页脚会转到屏幕顶部。
无论内容的高度如何,我都需要我的页脚始终位于内容下方。
这个脚本可以做到吗?
网址:http://kennethkjaer.gofreeserve.com/
#footer {
/* Footer container (whole browser width) */
background-image:url(../images/footer_bg.jpg);
bottom: 0;
position:absolute;
width: 100%;
height:85px;
padding-top:10px;
padding-bottom: 5px;
}
#footer_box {
/* Centered footer container with som padding to align properly the content */
width: 820px;
height:30px;
margin:0px auto;
position: relative;
padding:0px 10px 0px 10px;
}
#footercontent {
width: 360px;
height: 30px;
float: left;
padding: 0px;
}
#footerimg {
width: 100px;
height: 30px;
margin: 0px;
float: left;
}
#footerimg p {
float: right;
margin: 38px 0px 0px 0px; !important;
}
【问题讨论】: