Modifying color of a:hover

Discussion in 'HTML' started by Jim Van Abbema, Oct 12, 2004.

  1. In my style sheet I have:
    a:hover { color:#bb2222; text-decoration:none }

    How can I modify the hover color for different links on the same page?

    Thanks,

    Jim Van Abbema
     
    Jim Van Abbema, Oct 12, 2004
    #1
    1. Advertising

  2. Jim Van Abbema

    brucie Guest

    brucie, Oct 13, 2004
    #2
    1. Advertising

  3. Jim Van Abbema

    rf Guest

    Jim Van Abbema wrote:

    > In my style sheet I have:
    > a:hover { color:#bb2222; text-decoration:none }
    >
    > How can I modify the hover color for different links on the same page?


    Hmmm. This hasn't been answered for at least a week :)

    a.special:hover { color:#bb2222; text-decoration:none }

    <a>This is a normal link</a>
    <a class="special">This is a special link that fiddles with its
    underline</a>

    --
    Cheers
    Richard.
     
    rf, Oct 13, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VB Programmer

    Change cell color when hover

    VB Programmer, Jun 11, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    3,822
    VB Programmer
    Jun 11, 2004
  2. Shannon
    Replies:
    1
    Views:
    413
    brucie
    Jul 26, 2003
  3. Richard Thoms
    Replies:
    6
    Views:
    4,938
    Richard Thoms
    Dec 2, 2005
  4. Mufasa
    Replies:
    2
    Views:
    448
    Mufasa
    Jul 3, 2008
  5. Kamaljeet Saini
    Replies:
    0
    Views:
    429
    Kamaljeet Saini
    Feb 13, 2009
Loading...

Share This Page