ext_133425 ([identity profile] dossy.livejournal.com) wrote in [personal profile] cos 2006-08-12 07:42 pm (UTC)

"A third possibility is white-space: nowrap, which is not the default for any tag."

That's not true. That's what the <nobr> element does, although it's absent in all the official HTML and XHTML specifications.

Apparently the problem is that some versions of MSIE do not honor white-space: nowrap on inline elements, only block elements. Of course, <p> is a block element, so ... this is strange.

The irony is you are already chunking things up into separate blocks (adding the <p> and </p> ...) so why not just invert it and close your white-space: pre blocks instead? It is (or should be) fundamentally equivalent and require the same amount of extra markup, no?

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting