css
.bottom{100%;height:40px;background:#ededed;float:left;margin-bottom:0px;position:fixed;bottom:0;}/*重点后两句*/
body
<div class="bottom"> <p>网页底部</p> </div>
css
.bottom{100%;height:40px;background:#ededed;float:left;margin-bottom:0px;position:fixed;bottom:0;}/*重点后两句*/
body
<div class="bottom"> <p>网页底部</p> </div>