61,112
社区成员
发帖
与我相关
我的任务
分享
<style type="text/css">
#a{
width:100px;
height:100px;
background-color:#eeeeee;
border:5px solid #bbbbbb;
margin:10px;
float:left;
}
#b{
width:100px;
height:100px;
background-color:#eeeeee;
border:5px solid #bbbbbb;
margin:10px;
float:left;
}
#c{
width:100px;
height:100px;
clear:both;
background-color:#eeeeee;
border:5px solid #bbbbbb;
margin:10px;
}
</style>
<div id="a">
1
</div>
<div id="b">
2
</div>
<div id="c">
3
</div>
<style type="text/css">
#d {
width:270px;
border:1px solid #ccc;
float:left;
}
#a{
width:100px;
height:100px;
background-color:#eeeeee;
border:5px solid #bbbbbb;
margin:10px;
float:left;
}
#b{
width:100px;
height:100px;
background-color:#eeeeee;
border:5px solid #bbbbbb;
margin:10px;
float:left;
}
#c{
width:100px;
height:100px;
background-color:#eeeeee;
border:5px solid #bbbbbb;
margin:10px;
float:left;
}
</style>
<div id="d">
<div id="a">
1
</div>
<div id="b">
2
</div>
<div id="c">
3
</div>
</div>