Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to apply hover opacity w/o targeting all a hrefs on page.

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33762
    pittles78
    Participant

    Hi,

    I have the follow code:

    a img:hover {
    filter:alpha(opacity=50);
    -moz-opacity:0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    }

    and it is applying hover opacity to my a hrefs, but the top left header logo isn’t something I want hover opacity on. Can someone help me shield this image/link from the a img: hover.

    You can see the page here: http://stores.ebay.com/Tuffy-McPuggles/WCollection.html

    Thanks,
    Jon

    #84369

    Give it a class and set the hover opacity to full on that class (make sure it is further down the style sheet).

    #84371
    pittles78
    Participant

    That worked like a charm! Thank you so much. I really appreciate you help.

    #84372

    No worries!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.