How can I set up a div such that it will wrap text AND will also break word if necessary? Examples below, with the dots showing the width of the div ("zzzzzzz..." is all one word).
....................................
Hello these are
words
....................................
zzzzzzzzzzzzzzzzzz
zzzzzz
and if you want a word to be separated at a certain position when it's too long for the container, you can use the
­
entity (soft hyphen). So the HTMLwill remain
on the screen when it fits in one line, but become
if the line is shorter
You can use css
word-wrap: break-word;