Space after div - Page 2

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Re: Space after div

TC wrote:

Quoted text here. Click to load it

The problem is that this is about the only problem where background
colours fail to show what's wrong.
The collapsing margins are just that: margins. Margins don't have
background colours. If you would give the direct parent a
background-color, say blue, then you would see the blue right below
the red of the div, which is covered by the green of the contained p.
Unless you know about the collapsing margin, it's difficult to guess
that you should be seeing red below the green, instead of blue.

Els            /

Site Timeline