css :子元素用css float浮动后父级元素高度如何自适应 目前我知道的有两种解决方法: 第一种:使用css clear清除浮动; 第二种:对父级样式加overflow样式(overflow:auto)