Previous Message
Next Message

Line Break Problem

Sent by Jukka K. Korpela on 22 September 2003 17:05


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
> block

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
implement.

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/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Possibly related: