word-break

How can I allow text to wrap inside a word if necessary?

I am looking for the best solution to allow text to wrap in the middle of a word if necessary. By best, I mean most browser-compatible, and will favor word breaks before it breaks inside a word. It would also help if the markup looked nicer than mine (see my answer). Edit: Note this is specifically for user-generated content. Edit 2:...

How do you force line breaks between words only in css/html?

I have just a regular piece of text in a <p> tag inside a <div> tag. But only Firefox displays it correctly. Firefox breaks the lines between the words. All other browsers break the line mid-word which makes it difficult to read. Here is an example of what I mean: Firefox (working): This was busy in it was I was here. Let him as bei...