View Single Post
Old 01-15-2011, 08:01 PM   #1
Tegan
Connoisseur
Tegan began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Jan 2011
Device: Kindle 1st Gen, Kindle 3 SO
Classes in CSS in recipes?

I'm playing around with the Huffington Post recipe, trying to get rid of some extra junk I don't want, and I've noticed something that I'm not certain I understand.

When you are indicating a class in CSS, if you put a space between the words, you are saying to apply both words. So class="read_more with_verticals" is actually the same as applying class="read_more" and then applying class="with_verticals".

So if I use remove_tags with "read_more", it should block out class="read_more with_verticals". But what I think I'm seeing is that I have to have the whole thing, including the space, to remove it. Is this correct, or am I screwing up something?
Tegan is offline   Reply With Quote