View Single Post
Old 03-18-2014, 09:39 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by bfollowell View Post
OK. Gotcha. Thanks!

So p + p would be consecutive paragraphs.

p + p b would be any paragraph with bold characters following a paragraph? That one seems sort of strange but I think that's what it would be.

Thanks for your help.

- Byron
No, it would refer to the contents of any <b> tag, if it is inside a <p> tag that is immediately followed by another <p> tag.

Try thinking of it as tags, since the fact that <b> creates bold text doesn't have anything to do with the nature of the CSS inheritance.

You can have a <span style="font-weight:bold;">bolded text</span> with, you guessed it, bold characters. "p+p b" would not match a span tag, and these bolded characters would not receive that CSS.

But if the only bolding was done via the <b> tag, it would work as you expect.

Hopefully, this is a little clearer.

Last edited by eschwartz; 03-18-2014 at 11:21 PM. Reason: typo
eschwartz is offline   Reply With Quote