nbsp;html public -//w3c//dtd xhtml 1.0 transitional//en http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd>
无标题文档
回复讨论(解决方案) #test3{
width:50px;
height:50px;
background:green;
clear:left;
flaot:left;
}
修正 为 float:left;
#test3{width:50px;height:50px;background:green;clear:left;flaot:left;}
float写错了
新手的通病
可以添加一个class 方便调用:
.clear{clear:both;overflow:hidden;height:0px;line-height:0px;font-size:0px;}
/*添加一个div*/
