底部固定保证金我有一个网页,这样的主滚动DIV:在
<html>
<head>
<style type="text/css">
#mydiv{
overflow: auto;
width: 300px;
}
</style>
</head>
<body>
<div id="mydiv">content</div>
</body>
</html>
我怎么能在页面的底部都有(例如30像素)的固定保证金? div可以有一个很小或很大的高度(取决于屏幕尺寸),但边距应该是固定的。 感谢您的建议
您是否在寻找一个棘手的注脚?试着用谷歌搜索这个词。第一个结果是http://www.cssstickyfooter.com/。 – AlexMA 2012-03-22 04:06:13