W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: Question about inline layout and margins

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 09 Aug 2010 08:51:56 -0400
Message-ID: <4C5FF9EC.5050709@mit.edu>
To: Anton Prowse <prowse@moonhenge.net>
CC: www-style list <www-style@w3.org>, fantasai <fantasai.lists@inkedblade.net>
On 8/9/10 8:48 AM, Anton Prowse wrote:
>>> As for use cases, I guess if someone's gone to the trouble of trying
>>> to get the second span
>>> to completely overlap the first, it's because that overlap is important
>>> to them, and should be preserved even when the first span overflows its
>>> containing block.
>>
>> I can't tell whether your indexing is off here, or your numbers, but
>> as stated the sentence above makes no sense.
>
> I don't /think/ so, but perhaps I'm overlooking something or I'm
> misunderstanding you. If all three inline-level boxes were to be placed
> on the same line, the right margin edge of the inline box would be flush
> with the right margin edge of the first span (and flush with the right
> edge of the line box), right?

Yes...

> So the inline block completely overlaps the first span.

Yes, so the _third_ span overlaps the first?  In other words, your 
indexing was off.  OK.

-Boris
Received on Monday, 9 August 2010 12:52:30 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:30 GMT