word-wrap: break-word; Available in IE7 +, FF 3.5 and Webkit browsers (Safari / Chrome, etc.). To handle IE6, you also need to declare word-wrap: break-all;
If FF 2.0 is not in your browser matrix, then using this is a viable solution. Unfortunately, he does not wrap the previous line where the word is broken, which is a typographic nightmare. I would suggest using Hyphenator, as suggested by Paolo, which is unobtrusive JavaScript. Falling back for non-JavaScript users will be a broken word without a hyphen. I can live with it for now. This problem is likely to occur in CMS, where the web designer does not have control over what content will be introduced or where line breaks and soft hyphens can be implemented.
I reviewed the W3 spec , which discusses CSS3 porting. Unfortunately, there are a few suggestions, but nothing concrete yet. It seems that browser developers are still not implementing anything. I tested both Mozilla and Webkit for proprietary code, but there are no signs.
Kevin Rapley Dec 15 '09 at 7:28 2009-12-15 07:28
source share