1.overflow:hidden; 2.在父级元素结尾加上一个clear:both的div。 转载于:https://www.cnblogs.com/wanhao0102/p/5739044.html