Jump to content


Photo

Links on hover


  • Please log in to reply
1 reply to this topic

#1 nanijds

nanijds

    Young Padawan

  • Members
  • Pip
  • 8 posts
  • Gender:Male

Posted 01 July 2011 - 11:25 PM

I have certain attributes set for links on the site navigation menu but I don't want them to apply to all other site links.
The Gallery contains thumbnail photos that link to the full size photo and no hover attributes are required.
Can you tell me the CSS class or id code required to separate the two actions?

The CSS for menu links on hover is currently:
a:hover { color: #990000; background-color:#FFFFFF; border:solid 1px #000000;}
On the dark menu background this shows up quite well.

Thanks in advance

#2 Mark

Mark

    Young Padawan

  • Members
  • Pip
  • 113 posts

Posted 04 July 2011 - 01:00 AM

You can have the :hover set to multiple classes.

a.gallery:hover { }
a.navigation:hover { }





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users