Re: Pure space directly inside div ignored, but pure space directly

On Mar 29, 3:03 am, Ben C <spams... [at] spam.eggs> wrote:
> On 2008-03-29, John Hosking <J... [at] DELETE.Hosking.name.INVALID> wrote:
>
> > "In particular, user agents should collapse input white space sequences
> > when producing output inter-word space."


sigh... it is not "inter word" space... it is outer...

<div> hello world </div>

the spaces before hello is not inter-word. AND IT IS NOT COLLAPSED.
IT IS TOTALLY IGNORED.
liketofindoutwhy [ Sa, 29 März 2008 17:52 ] [ ID #1932111 ]

Re: Pure space directly inside div ignored, but pure space directly inside span honored

On 2008-03-29, liketofindoutwhy [at] gmail.com <liketofindoutwhy [at] gmail.com> wrote:
> On Mar 29, 3:03 am, Ben C <spams... [at] spam.eggs> wrote:
>> On 2008-03-29, John Hosking <J... [at] DELETE.Hosking.name.INVALID> wrote:
>>
>> > "In particular, user agents should collapse input white space sequences
>> > when producing output inter-word space."
>
>
> sigh... it is not "inter word" space... it is outer...
>
><div> hello world </div>
>
> the spaces before hello is not inter-word. AND IT IS NOT COLLAPSED.
> IT IS TOTALLY IGNORED.

See CSS 2.1 16.6.1 second section, item 1, "[...] a space at the
beginning of a line [...] is removed"

So you're both wrong. It isn't collapsed or ignored, it's REMOVED.
Ben C [ Sa, 29 März 2008 19:06 ] [ ID #1932119 ]
Miscellaneous » alt.html » Re: Pure space directly inside div ignored, but pure space directly

Vorheriges Thema: Re: Simple form label question.
Nächstes Thema: web hosting