Link to home
Start Free TrialLog in
Avatar of gretchen
gretchen

asked on

CSS Changing Hover link in multiple places

I have the hover link property set for the main page.  I want to override that setting for a particular bunch of href links.

How can I do this.
ASKER CERTIFIED SOLUTION
Avatar of CJ_S
CJ_S
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gretchen
gretchen

ASKER

Yes, that made perfect sense and worked.

I did grade thids but I have one question.

If I did have multiple properties like below
a.recordarea:hover {color: #0000ff}
a.recordarea:link { color: #000000}

is there a way to do them all together?

a.recordarea { hover: #0000ff
               link: #000000 }

I know the above does not work.

No, if you write a.recordarea { } it will say that it is the normal link. Not the hover.

thanks