我试图让页脚留在使用CSS底部 - 粘页脚:获取页脚留在底部
.wrapper {
margin: 0 auto;
padding: 0 0 0 0;
width: 100%;
text-align: left;
background: #F5F5FF;
}
.page .footer {
left: 0;
width: 100%;
min-width: 300px;
position: fixed;
margin-top: -150px;
}
.tfoot {
background: #3E5C92;
color: #E0E0F6;
}
.smallfont {
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
而这里的事物的HTML:
<div class="wrapper">My stuff</div>
<div class="footer">
<div class="tfoot" align="left" style="padding:6px">
<div class="smallfont" style="float:right">
<a href="?app=about">About Extranet</a> <a href="?app=changelog">Changelog</a> </div>
<div style="color:white">
<small>Copyright © 2009 Radon Systems | Shamil Nunhuck | <?php echo($product.' | '.$version.' | '.$build); ?>
</div></div></small></div>
但它并没有粘在底部。它出什么问题了?
不,它没有修复它:( – bear 2009-06-07 20:31:11