BFC有一条规则
BFC的区域不会与float box重叠
position为absolute和fixed会生成一个BFC,但如下代码
<style>
.aside {
width: 100px;
height: 150px;
float: left;
background: #f66;
}
.main {
height: 200px;
background: #fcc;
position: absolute;
width:200px;
}
</style>
<body>
<div class="aside"></div>
<div class="main"></div>
</body>
.aside和.main依然会重叠,请问如何理解?
http://www.cnblogs.com/lhb25/...里面介绍的很详细了