Quote:
Originally Posted by theducks
NB I add to the bottom so as to not mess the heading to first para spacing.
|
It would only mess it if you had define that spacing as smaller than the normal paragraph to paragraph spacing. In other words, vertical margins in HTML are not additive, they are "minimal" spacing instead (often, at least).
If you define "h1{margin-bottom:20pt}" and "p{margin-top:10pt}", the spacing between consecutive <h1> and <p> will not be 30pt (the sum ofthe two), but 20pt (which "includes" the 10pt of the <p>).