在html的css中,在网页中有如下一段代码,其中clss属性为poetimg和poet的div均设置了左浮动,且两者高度不确定,下面( )正确设置了id为father的div根据其内容自动扩展自身的高度。
<div id="father">
<div class="poetimg">
<img src="images/poet.jpg" alt="夏"/>
</div>
<div class="poet">夏来了。。。。</div>
<div class="clears"></div>
</div>
#father{width:800px;overflow:hidden;}
.clears{clear:both;height:1px;overflow:hidden;}
#father{width:800px;}
#clears{clear:both;height:1px;overflow:hidden;}