-
css怎样清除浮动
清除浮动的方法:1、父级div定义height,语法“height:高度”;2、结尾处加空div并设置“clear:both”样式;3、父级div定义伪类“:after”和zoom;4、父级div定义“overflow:hidden”。本教
清除浮动的方法:1、父级div定义height,语法“height:高度”;2、结尾处加空div并设置“clear:both”样式;3、父级div定义伪类“:after”和zoom;4、父级div定义“overflow:hidden”。本教