Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Hover Color

  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    271
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Hover Color

    How do you have more than one hover and link color on the same page.

    I know how to insert the code BUT is there a way to make some links one set of colors and other different.

    THXS STeve

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    http://www.codingforums.com/search.p...der=descending

    Lots on this subject has already been written. Just follow some of these other threads and you'll not only find the solution you want but a lot of the other information which'll help you understand how it works and what mistakes to avoid
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    271
    Thanks
    4
    Thanked 0 Times in 0 Posts

    THXS

    I tryed that BUT must have entered the wrong search text

  • #4
    Regular Coder
    Join Date
    Jan 2004
    Location
    London, UK
    Posts
    234
    Thanks
    0
    Thanked 0 Times in 0 Posts
    right then, I dont mind explaining. I may get a few things wrong as Im relatively new to CSS.

    Ok, basicaaly you first have to assign each link (this technique can be used for tables,divs,lists,fonts etc) a class. For example style1 and style2:

    <a class="style1">This is in style1 style</a>

    Then in a stylesheet (internal or external) you must say which style you are referring to:

    .style1 {

    }

    In the curly brackets goes the actual style of the content. This can be anything, although there is a set language.

    .style1 {
    font-family: arial;
    another-style-element: the-style;
    }

    Hope this helps. Obviously this is basic and I don't know exactly what you want, but if anyone else cares to elaborate on this...

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: THXS

    Originally posted by stevan
    I tryed that BUT must have entered the wrong search text
    Yes, sometimes all you need are the right terms to search for. You did follow the link I posted right? I hope so, because what you're looking for is certainly there in abundance.
    Check out the Forum Search. It's the short path to getting great results from this forum.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •