We use 'whitespace: nowrap' so single-line text doesn't wrap onto the next line if it overflows the its container's bounds.

On 1/14/11 3:45 PM, P T Withington wrote:
Can anyone explain this?

In swf, the text elements act like `whitespace: pre` (they preserve whitespace 
and newlines).

This screws the debugger in DHTML, because it writes a lot of formatted text 
using whitespace, which is currently collapsed because the sprite uses 
`whitespace: nowrap`.

Reply via email to