Give this a try

word-wrap: break-word;

I haven’t used it in a very long time, I know it works in IE not sure about anything else, though. But if it works it would be better then using overflow since it clips the text, this will just break it. This property only works if the element has a visual rendering, is an inline element with explicit height/width, is absolutely positioned and/or is a block element.