HTML Automatic line-break doesn't work?

Viewed 34491

I declared width and margins but somehow my lines didn't get wrapped with an automatic line-break.

enter image description here

edit: I found the cause. It's because there are no spaces between words:

teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest teest 
6 Answers

another way to do it is by:

white-space: pre-wrap; // preserve whitespace, the text is wrapped
overflow-wrap: break-word; // text is wrapped, line break on the end of a word
Related