How do I make HTML break just a word?
2 answers
The property you are looking for is word-break
word-break: break-all;
Check out this fiddle: http://jsfiddle.net/376qL5Lg/
To make the line continue without breaks, the approach is:
white-space: nowrap;
Fiddle: http://jsfiddle.net/7km0c6mb/
+4
source to share