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 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2004
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Multiple Link Effects

    Can anyone tell me how to use multiple effects for links

    This is wot i have ::

    <style>
    a:link {color: #FFFFFF; text-decoration: none}
    a:hover {color: #CC00000; text-decoration: underline}
    </style>

    so, all of my links turn in WHITE, and when hovered, turns RED...



    but, i want have these links and another set of these for a different set of links ??

    i know this is possible, but how ??

    cheers

  • #2
    New Coder
    Join Date
    Jan 2004
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You need to setup CSS classes like this:

    a.link1:hover { }
    a.link1:link { }

    a.link2:hover { }
    a.link2:link { }

    Then, when you setup the link to apply the class do this:


    <a href="http://www.yourdomain.com" class="link1">http://www.yourdomain.com/</a>
    Full featured web hosting as low as $4.95/mo!

  • #3
    New Coder
    Join Date
    Jan 2004
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok, thx for the reply !!

    MUCH APPRECIATED !!


  •  

    Posting Permissions

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