39 users online (0 members and 39 guests)  


  Results 1 to 6 of 6

Related

  1. Replies: 1
  2. Replies: 2
  3. How do I make my own "server"    Forum: Web Hosting Forum
    Replies: 1
  4. mouse "folowers"    Forum: HTML Forum
    Replies: 9
  1. #1
    geek987's Avatar
    Man Utd Fans

    Status
    Offline
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    156

    Cool how can i only make "one" link turn to another color when hovered(mouse moves to it)?

    wat it says on the title

  2. #2
    Derek's Avatar
    Be Yourself

    Status
    Offline
    Join Date
    Aug 2001
    Location
    St. George, Utah, USA
    Posts
    466
    try this:

    .onehover {
    text-decoration: underline; color: darkblue;
    }

    <a class="hover" href="blah.com">hello</a>

    no idea if it'll work lol but probably something near that.

  3. #3
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316

    use css

    //put this in between <head> and </head>, change the colors
    //to the ones u want. for example: #ffffff to #0000ff (blue)

    <head><style>
    A:link, A:active
    {
    text-decoration : none;
    color : #ffffff;
    background : transparent;
    }
    A:visited
    {
    text-decoration : none;
    color : #ffffff;
    background : transparent;
    }
    A:hover
    {
    text-decoration : none;
    color : #000000;
    background : #ffcc00;
    }
    </style></head>

  4. #4
    geek987's Avatar
    Man Utd Fans

    Status
    Offline
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    156

    Talking i did use CSS

    well, i did use CSS. However, i wanted one of the link's hovered color be something diffrent, how can i do dat?

  5. #5
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Derek had it right.nearly.

    Add this to your already existing <STYLE> area in the head -
    Code:
    a.unique:hover {
    background-color: re;
    }
    then mark your link like this -

    Code:
    <a href="http://www.quietdean.com" class="unique">QuietDean</a>
    For a grounding in CSS, try the tutorial link in my signature.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  6. #6
    geek987's Avatar
    Man Utd Fans

    Status
    Offline
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    156

    Talking

    thx all of u, i think i got it!



Tags for this Thread