css text new line if too long 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.