在內聯顯示多個div時,是否可以使文本水平溢出(並越過)下一個div?水平溢出到下一個內聯div的文本
例子:
HTML:
<div class="div1">I want the text to overflow into the red box</div> <div class="div2"></div>
CSS:
div{
float:left;
display:inline;
width: 200px;
height: 18px; }
.div1{
background-color: grey; }
.div2{
background-color: red; }
見的jsfiddle:http://jsfiddle.net/lars95/H7KvG/6/