本文主要是介绍html div始终在页面底端,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
footer:
<div id="footer" style="position: absolute; bottom: 0px; display: block;"><div style="height: 40px"><p class="alignright">**********有限公司</p></div>
</div>
parent页面引用,代码片段:
<div><%@ include file="../parts/header.jsp"%>
</div>
这样,footer始终parent页面的底端。
这篇关于html div始终在页面底端的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!