解决办法:给文字所在的div或者容器加上 float:left; 属性 转载于:https://www.cnblogs.com/huangcong/archive/2012/12/13/2816324.html