固定底对齐Div [英] Fixed Bottom Aligned Div
本文介绍了固定底对齐Div的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在页面底部放置一个页脚,该页脚与将使页面滚动的所有内容重叠.此外,向下滚动时,页脚仍需要停留在该位置.
I need a footer in the bottom of a page, which is overlaps any content that will make the page scroll. Also, when scrolling down, it the footer still need to stay there.
css仅在IE6 +上有效吗?
Is this possible with css only working for IE6+ ?
推荐答案
最近,我使用了以下样式:
Recently I used the following style:
div.BottomDisclaimer
{
z-index:100;
position:fixed;
bottom:0px;
border-top-style: solid;
border-top-width: 1pt;
padding-top: 4px;
}
这篇关于固定底对齐Div的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文