Previous Message
Next Message

Re: [css-d] escaping margins?

Sent by April on 21 June 2002 12:12


On 20 Jun 2002 at 10:12, Scott Sauyet wrote:
> 
> This definitely is a case of collapsing margins. 
...
> You can see that this is so by now adding a one pixel border or
> padding to your #content div.  This separates the two margins, which
> can no longer collapse, and the white space disappears.

Ah-hah. Clever.

Curiously, if I add only top and bottom borders -- setting left and right to 0 -- 
the white space returns.

Thank you for taking the time to further explain this and suggest some 
workarounds!

Regards,
-april
-- http://www.bungalow104.com
Previous Message
Next Message

Message thread: