1
是我的CSS:CSS固定頭部和浮動內容
html {
height: 100%;
}
body {
height: 100%;
width: 300px;
margin: 0px;
}
div.div1 {
height: 100px;
background-color: red;
}
div.div2 {
background-color: blue;
height: 100%;
}
<div class="div1"></div>
<div class="div2"></div>
的問題是,我想被浮動爲基礎的機構,但沒有在它裏面滾動。 文檔類型是嚴格的。瀏覽器:ff3。可能嗎?