У меня нет проблем с получением текста для обтекания div, когда вершины элементов выровнены, но я не могу понять, как сделать обтекание текста над и под div.
Например, я хочу, чтобы текст был полной шириной #container для 40 пикселей, затем оберните его вправо и снова перейдите на полную ширину.
См. http://jsfiddle.net/cope360/wZw7T/1/. Где я добавил верхнее поле к #inset, где я хотел бы, чтобы текст был перенесен.Возможно ли это?
CSS:
#inset {
width: 100px;
height: 100px;
background: gray;
float: left;
margin-top: 40px;
}
HTML:
<div id="container">
<div id="inset">Inset</div>
This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around. This text should wrap all around.
</div>