style="word-WRAP: break-word"
http://www.webdesignerwall.com/tutorials/word-wrap-force-text-to-wrap/
CSS: Word-Wrap Property (view demo)
You can specify either normal
or break-word
value with the word-wrap property. Normal
means the text will extend the boundaries of the box. Break-word
means the text will wrap to next line.
.break-word {
word-wrap: break-word;
}