View Single Post
Old 02-19-2011, 10:42 AM   #5
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,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by cybmole View Post
your h2+P ... construction - does that apply to a p following a h2 only, then ?
Yes, that's what the "+" means, it applies only to the second tag, when the two tags are adjacent.

If, in your case, all <p> are <p class="calibre10">, for instance, you can add to the stylesheet:

Code:
h2 + p.calibre10 { text-indent: 0 }
and it should have a higher priority than just "p.calibre10", because it is more specific.
Jellby is offline   Reply With Quote