white space problems

this is normal text, with a longlonglonglonglonglonglonglonglong word

this is pre text, with a longlonglonglonglonglonglong word

this is pre text, with a many, many words

 this is normal text, with a longlonglonglonglonglonglonglonglong word
this is	pre		text, with a longlonglonglonglonglonglong word
this is pre text, with a many, many words

Controling the wrapping of long words, by using ’pre-wrap’ value for the ’whitespace’ property. This is an addition to the CSS2.1 CR. I'm not sure the example above is entirely correct. At least the last paragraph should wrap. See also Craig Saila's notes and Indexdot' notes on the subject. Current browser support is via proprietary extensions (-moz, -o), or MSIE own definition: word-wrap: break-word.

CSS3 text module will extend this further: line breaking and white space control.