Why doesn\'t word wrap property work properly in the example below?
http://jsfiddle.net/k5VET/739/
What can I do to ensure that part of the word \'consectetur\'
It does not wrap properly, because browsers do not apply automatic hyphenation (which would be the way to cause proper wrapping) by default. You need to use CSS hyphenation or JavaScipt-based hyphenation. The setting word-wrap:break-word
, as well as word-break: break-all
, by definition breaks words (splits th em to piece s at arbit rary poin ts), instead of proper wrapping.