我想页脚(与ADRESS和社会图标)是在页面的底部,没有额外的后(所以没有向下滚动可能)粘页脚CSS修复
我也希望它在真底部
正是这个页面Working link
但是当内容不占据整个页面高度它是搞乱...... 喜欢这里的工作完美:At the bottom BUT adding some scrolling at the bottom 我环顾四周,但似乎无法找到完美的解决方案,我需要你的知识
.sticky-footer-wrapper {
min-height:100%;
}
.push {
overflow:auto;
padding-bottom:200px;
}
footer {
position:relative;
margin-top:-200px;
height:30px;
clear:both;
}
HTML标记
<div class="sticky-footer-wrapper">
<div class="push"></div>
</div>
<footer></footer>
谢谢您的时间!
Typo? ' div':缺少'>' – biziclop
@ francoboy7会为你定一个固定的页脚吗? –
@ Mr.Coder不,它不会工作。感谢回复,虽然 – francoboy7