On Nov 18, 2010, at 4:21 PM, Thierry Koblentz wrote:
The padding is what creates the gap below the border, the margin is
what
creates the gap above the border.
You may have the space above the border already created by the
bottom margin
of the previous sibling, but in any case, that should not matter
because of
*collapsing margins*, hence that value will not change anything if
the gap
already exists (via margin). Because these two margins will collapse.
It would be different if that gap was the result of bottom padding
on the
previous sibling.
Zounds! I believe that I understand that entire paragraph! but why,
then, after I add a margin-top: 8px to my code, does that paragraph
go wider? By "wider," I mean that it widens to the width of the
parent div which contains all that stuff...the small head, the big
head and date the dotted line and the blurb paragraph, now enclosed
by my
<p class="dotted">
?
John
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/