RE: Overflow and Margins

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 UTC