子标签float后溢出父标签问题的解决
子标签float后溢出父标签的解决
Table of Contents1 第一种方法:给父标签加overflow:hidden; 1.1 IE7, IE8, FF 1.2 IE6 1.2.1 css hack? 2 第二种方法:加入平等div,再clear:both; 3 第三种方法:父标签也float,父标签的父标签(爷标签?)overflow:hidden;发布时间: 2012-09-21 15:47:26 作者: rapoo
子标签float后溢出父标签问题的解决
子标签float后溢出父标签的解决
Table of Contents1 第一种方法:给父标签加overflow:hidden; 1.1 IE7, IE8, FF 1.2 IE6 1.2.1 css hack? 2 第二种方法:加入平等div,再clear:both; 3 第三种方法:父标签也float,父标签的父标签(爷标签?)overflow:hidden;