<div style="clear:both; margin-bottom:80px;background:red">clear:both;</div>
</div>
<div style="margin-top: 20px;">本文字離圖片的距離是?</div>
這兩個的margin重疊了。
大家可以改變px的值看看,瀏覽器會取其中大的那一個
<div style="clear:both; margin-bottom:80px;background:red">clear:both;</div>
</div>
<div style="margin-top: 20px;">本文字離圖片的距離是?</div>
這兩個的margin重疊了。
大家可以改變px的值看看,瀏覽器會取其中大的那一個
2014-08-05
舉報(bào)
2014-08-06
<div style="clear:both; margin-bottom:80px;">clear:both;</div>
<div style="margin-top: 20px;">本文字離圖片的距離是?</div>
是醬紫是醬紫╰( ̄▽ ̄)╮
2014-08-06
恕我問一下 你這結(jié)構(gòu)中間的一個</div> 是怎么來的