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。可能吗?