quick CSS question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MrPinks
    Registered User
    • Oct 2003
    • 1767

    #1

    quick CSS question

    I hope I can explain this correctly. Is it possible to have 2 seperate colors when hovering over 2 seperate links? For example, hovering over a grey link would turn the link blue and on the same page hovering over a black link would turn red. If it is possible, does anyone have a link on how to do this?
  • Fake Nick
    So Fucking Banned
    • Jul 2004
    • 7708

    #2
    maybe the can help ? http://www.ccs.com/

    Comment

    • Chio The Pirate
      Confirmed User
      • Oct 2002
      • 946

      #3
      Originally posted by MrPinks
      I hope I can explain this correctly. Is it possible to have 2 seperate colors when hovering over 2 seperate links? For example, hovering over a grey link would turn the link blue and on the same page hovering over a black link would turn red. If it is possible, does anyone have a link on how to do this?

      YARGH! assign a different class to each link style.

      Need to get a site indexed in a few days? Want thousands of targeted, quality hits to your site? Want to beta test something that will revolutionize the way companies, and individuals advertise online.? Click here to take a look at Bliggo

      Comment

      • MrPinks
        Registered User
        • Oct 2003
        • 1767

        #4
        Ahoy, Chio to the rescue. LOL.

        Comment

        • MrPinks
          Registered User
          • Oct 2003
          • 1767

          #5
          Anyone have an example script? I am still trying to get it to work.

          Comment

          • X37375787

            #6
            .class a:link {color: #xxxxxx}
            .class2 a:link, a:hover, a:visited {color: #yyyyyy;}

            then just assign a class to your paragraph, div layer or whatever other object you wish.

            Comment

            • Wolfy
              Confirmed User
              • Dec 2003
              • 3574

              #7
              there are thousands of quick css questions... you might not be so lucky gettting an answer of the same calibur ;)

              Comment

              Working...