"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?
no subject
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?