我有这个 div:
<style>
#asd{
height:auto;
width:1024px;
margin-left:auto;
margin-right:auto;
background-color:#093;
}
</style>
我希望这个 div 的底部总是向下到达窗口的底部,无论窗口的当前大小是什么。
到目前为止,我尝试添加到#asd 的 css 中,但没有得到预期的结果:margin-bottom:0px; 或高度:100%;或底部:0px;
有什么建议吗?