Break long word with CSS
I have found this solution my self.
word-break: break-all;
but it doesn't work for Opera.
http://www.w3schools.com/cssref/tryit.asp?filename=trycss3_word-break
What you need is word-wrap: break-word;
, this property will force the non spaced string to break inside the div
Demo
div {
width: 20px;
word-wrap: break-word;
}