If a user types in a long line without any spaces or white space, it will break formating by going wider than the current element. Something like:
HA
Here's what I do in ASP.NET:
I looked at other CSS based ways of doing this, but didn't find anything that worked cross-browser.