div if text too long go to new line code example
Example: html if text too long newline
word-wrap: break-word
or
overflow-wrap: break-word;
which works in every modern browser. IE, being a dead browser, will forever rely on the deprecated and non-standard word-wrap instead.