max-width: xx px
I'm not entirely sure on it's behaviour in isolation with no spaced text. I do, however, know of a function in PHP which will perform the action you're after:
PHP Code:
wordwrap($str, 20, '<br />'."\n");
The arguments being: [Text] [Characters] [Terminate With]