<style type="text/css">
.myBox{
width:183px;
height:85px;
border:1px solid red;
margin-top:10px;
padding-left:15px;
}
</style>
.myBox{
width:183px;
height:85px;
border:1px solid red;
margin-top:10px;
padding-left:15px;
}
</style>
已采纳回答 / 微蓝lran
clear语法:
clear : none | left | right | both取值:
none : 默认值。允许两边都可以有浮动对象
left : 不允许左边有浮动对象
right : 不允许右边有浮动对象
both : 不允许有浮动对象应该是清除clear 属性规定元素的哪一侧不允许其它之前浮动元素
2016-02-25
<style type="text/css">
.myBox{
width:183px;
height:88px;
border:1px solid red;
margin-top:10px;
padding-left:15px;
}
</style>
.myBox{
width:183px;
height:88px;
border:1px solid red;
margin-top:10px;
padding-left:15px;
}
</style>