View Single Post
Old 03-19-2014, 04:34 AM   #7
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 bfollowell View Post
OK, I know p is paragraph. So all paragraphs with no other class assigned would default to the global p definition.
All paragraphs, with or without class, will have the global p style applied. Paragraphs with a class or matching some other selector can have additional styles applied (possibly overriding default ones).

p + p applies to any paragraph following a paragraph, but still the basic p applies too, so they are justified and Times New Roman as well.

p + p b applies to any <b> tag inside a <p> following another <p> and, since what this style constains is text-align, text-indent and margin-top, it's pretty useless, because the <b> tag is inline, and those properties have no meaning there.
Jellby is offline   Reply With Quote