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

Re: Overflow and Margins

From: Brad Kemper <brkemper@comcast.net>
Date: Sat, 2 Feb 2008 15:11:36 -0800
Message-Id: <E5077640-0000-4A37-A09A-4885AC3B72BD@comcast.net>
Cc: "'CSS Style'" <www-style@w3.org>
To: "Bruno Fassino" <fassino@gmail.com>


On Feb 2, 2008, at 2:48 PM, Bruno Fassino wrote:

>
> 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,

Yes, that is the problem I would like to see addressed.

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

And yet I can see the effect of all of the other 3 margins.

> Indeed the same thing happens to a vertical bottom
> margin.

I don't know what you mean. When the height is not specified, I still  
see the bottom margin. the margins increase the height of the  
container. If you mean that the same phenomenon occurs when  
overflowing in the vertical instead of the horizontal, then sure,  
that is no surprise.

> Margins that do not "affect" the rendering are not "visible" in any
> way.

The other 3 margins affect the size of the pane that is being  
scrolled. I would like to see the 4th margin do the same.

>
> --
> Bruno Fassino http://www.brunildo.org/test
>
>
Received on Saturday, 2 February 2008 23:11:54 GMT

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