Confusing global definitions in css
I don't know if this is the best place to post this or not. It's more of a coding issue than a Sigil issue so I'm going to try here.
Typically, most css that I edit are mostly made up of various class definitions. I'm try to clean up/improve an epub that only has a couple of class definitions and is made up mostly of global definitions. Here are some examples:
p { margin: 0px 0px 0px 0px; font-family: Times New Roman; }
p + p { text-align: justify; text-indent: 12px; margin-top: 0px; }
p + p b { text-align: justify; text-indent: 12em; margin-top: 0px; }
OK, I know p is paragraph. So all paragraphs with no other class assigned would default to the global p definition.
Now, what are p + p and p + p b and when would they come into play? I've never ran into these before.
Any light anyone could shed into this for me would be greatly appreciated.
Thanks.
- Byron
|