【发布时间】:2016-11-05 01:01:41
【问题描述】:
这是我的 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>
问题是我希望 body 是基于浮点的,但不滚动它。 文档类型很严格。浏览器:ff3。有可能吗?
【问题讨论】:
标签: css