在此示例中是否可以删除楼梯效果?我有一个div向右浮动,几个div固定高度,固定宽度向左浮动。如果div遇到某处,我会得到一个相当奇怪的楼梯效果。在此示例中删除楼梯
我知道为什么发生这种情况,我得到它,但即时通讯寻找一种解决方案,以避免这种情况。请帮我
<div class="container">
<div class="fright">just some contents floating right</div>
<div class="fleft">a div</div>
<div class="fleft">
this one is the problem.
Is it possible to have this div start at position B
</div>
<div class="fleft"><b>Position B</b></div>
<div class="fleft">a div</div>
</div>
和CSS
div{
margin:10px;
padding:10px;
.container{
width:460px;
float:left;
}
.fright{
float:right;
border:1px solid green;
}
.fleft{
float:left;
height:180px;
width:180px;
border:1px solid orange;
}
你可以让你想怎么转出的例子吗? –