On Thursday, August 25, 2011 3:09:35 pm John wrote:
> On Aug 25, 2011, at 9:10 AM, Kevin A. Cameron wrote:
> > .headerLink-alt1 a:hover {
> >
> > background-color: yellow;
> >
> > }
>
> Can any character be used before "alt1" "alt2" etc?
>
> I could be
>
> .headerLink_alt1
>
> right? are there any characters it can't, or ought not be?
>
It can't be a period. That would indicate that "alt1" itself is the name of a
class. (See my example, where I actually do it that way)
It also can't be any of the other reserved CSS characters (+,>,space, etc) It
could be .headerLink_alt1. Or it could be .headerLinkAlt1. It's up to you,
really.
---Tim
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/