【发布时间】:2017-11-22 13:48:08
【问题描述】:
我在我的项目中使用页脚。我正在使用 c#.net mvc。
我插入页脚。但我有问题。
当 Body 的内容含量较低时,页脚会向上。即低于正文内容。如果正文内容少,我希望页脚固定在页面底部。
我怎样才能实现它?
.footer {
background: none repeat scroll 0 0 white;
border-top: 1px solid #e7eaec;
bottom: 0;
left: 0;
padding: 10px 20px;
position: absolute;
right: 0;
}
<div class="footer">
Bottom Page
</div>
【问题讨论】:
标签: javascript jquery html css footer