这个老忘记,标注一下: div多个显示在一行有两种设置方法 1、设置div 的css float:left属性,显示的每个div都添加; 第二种方法是设置display显示方式为 inline,display:inline