Here's the way to do it:
<div style="width:100px;word-wrap:break-word">thisdivmessesupmylayoutwithitslongchildtext</div>
Using word-wrap: break-word;
we can force the long word to move down a line when it reaches the parent width
.
Note: word-wrap
is a CSS3 property.