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

Re: Question about inline layout and margins

From: Anton Prowse <prowse@moonhenge.net>
Date: Mon, 09 Aug 2010 15:00:19 +0200
Message-ID: <4C5FFBE3.7010907@moonhenge.net>
To: www-style list <www-style@w3.org>
CC: Boris Zbarsky <bzbarsky@MIT.EDU>, fantasai <fantasai.lists@inkedblade.net>
Boris Zbarsky wrote:
> 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.

*Ahh*, yes, thanks.  I think I'd already wondered off into putting
negative left margin on the inline block (which seems to be the
more representative use case).

Sorry for the confusion.
Received on Monday, 9 August 2010 14:02:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 12:34:40 UTC