"Neal" <neal (AT) spamrcn (DOT) com> wrote:
Quote:
But doesn't the UA only use the largest margin of the two when
vertically aligning block elements? |
Not always. When a bottom margin is -5px and the next element's top
margin is 15px, the effective margin is 10px.
Quote:
So as long as you have a margin
of 0, the margin that occurs will be the one set or default for the
other element (in this case, a p seemingly)? |
Yes, if is zero or positive. But not when it is negative.
--
Yucca,
http://www.cs.tut.fi/~jkorpela/