I have googled this to death and got nowhere. It seems like such a common problem, and lots of advice but nothing works for me.
Here is what I am trying to do.
Two divs (inline)
<div 1>---------------<div2>
Some long *
text that nicely * An image
wraps inside its *
nested div *
I have tried using word-wrap: break-word in the style of the div but this does not work. I have tried using pre tags (which sort of works but the text overlaps the rhs of the boundary by a few characters.
Currently have
<div id="outer">
<div style='border:1px solid black; float:left;width=50;display:inline; word-wrap: break-word;'>This is some random waffle text aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa. AAAAaaaaaaaaaaaaaa bbbbbb ccccccccccccccccccccccccccccccccccccccccc
sdddddddddddddddddddddddddddddddddddddddddddddddddddddd
</div>
<div style='border:1px solid black; float:left;'>This is where I want my image
</div>
</div>
Charlie Benger-Stevenson
Hart Hill IT Ltd
Here is what I am trying to do.
Two divs (inline)
<div 1>---------------<div2>
Some long *
text that nicely * An image
wraps inside its *
nested div *
I have tried using word-wrap: break-word in the style of the div but this does not work. I have tried using pre tags (which sort of works but the text overlaps the rhs of the boundary by a few characters.
Currently have
<div id="outer">
<div style='border:1px solid black; float:left;width=50;display:inline; word-wrap: break-word;'>This is some random waffle text aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa. AAAAaaaaaaaaaaaaaa bbbbbb ccccccccccccccccccccccccccccccccccccccccc
sdddddddddddddddddddddddddddddddddddddddddddddddddddddd
</div>
<div style='border:1px solid black; float:left;'>This is where I want my image
</div>
</div>
Charlie Benger-Stevenson
Hart Hill IT Ltd