On Sun, 21 Sep 2003, Timothy J. Luoma wrote:
> > Although it works as intended in some browsers, 'white-space' by spec
> > applies only to block-level elements.
> Actually, that it no longer true, although it was in an earlier version.
In fact, it is still true.
> 2.1, as you probably know, was written to "tell it like it is" with regard
> to actual browser practice, so you're pretty safe using it for inline or
I think it was more of a fix to an absurd restriction imposed by the
CSS 2.0 specification, a restriction that browsers apparently didn't
But it is still true that by the current CSS specification issued by the
W3C, white-space only applies to block-level elements. A draft is not a
specification. Although this distinction probably does not matter here,
it is relevant in other contexts.
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/