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:00 +0100
To: "'CSS Style'" <www-style@w3.org>
Message-ID: <009501c865ed$ac84ad90$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?

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

--
Bruno Fassino http://www.brunildo.org/test
Received on Saturday, 2 February 2008 22:48:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:01 GMT