View Single Post
Old 01-17-2011, 11:07 AM   #8
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,559
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by theducks View Post
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>).
Jellby is online now   Reply With Quote