My aim is to have this class apply only when set on <img>
tags. It only works when there is no space between the tag name and the class name, but doesn't when there is. I have seen style sheets with spaces in the signature, so I'm sure it must be valid in some contexts.
What is the difference between:
img.approved-photo {
// no space
}
and
img .approved-photo {
// has a space
}