尝试过许多办法 其中一网友的最靠谱就是在外层div样式添加两个标签(不能少) clear:both; overflow:auto; 转载于:https://www.cnblogs.com/guozefeng/p/3409405.html