.one{}
.two{}
.three{}
.clear{
margin:0px;
border:0px;
height:0px;
clear:both;
}//使得father 随着one two three 自动浮动。
<div class="father">
<div class="one"></div>
<div class="two"></div>
<div class="three"></div>
<div class="clear"></div>
</div>