W3C home > Mailing lists > Public > www-style@w3.org > February 2008

RE: Overflow and Margins

From: Bruno Fassino <fassino@gmail.com>
Date: Sat, 2 Feb 2008 23:48:19 +0100
To: "'CSS Style'" <www-style@w3.org>
Message-ID: <009601c865ed$b9be2540$6905a8c0@bruno>

Bruno Fassino wrote:
> Brad Kemper wrote:
>> Isn't it a bit odd that of one block is wider than its parent, and
>> the parent is set to "overflow:scroll", that the margins of
>> the child are shown on the top, bottom, and left, but not on the
>> right? Is that the way it is supposed to be?

In addition to the fact that in your case the used margin-right is not the
specified value, and more important, is the fact that probably the
"scrolling" mechanism of overflow has the intent to allow to see the
content, not its margins. Indeed the same thing happens to a vertical bottom
margin. Margins that do not "affect" the rendering are not "visible" in any

Bruno Fassino http://www.brunildo.org/test
Received on Saturday, 2 February 2008 22:48:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:33 UTC