SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard
    Join Date
    Sep 1999
    Posts
    1,390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have a dual navigation system (nav links at the top and on the side) and I was wondering what CSS code I would use so that when the visitor places their mouse over the side links it turns one color and on the top links another color.

    Right now, I have it so that they are the same color on both sets of links (using a:hover).

    Thanks in advance!

    ------------------
    Aidan Bahta
    abahta@activewm.com

    ActiveWM.com - The place for the Active Webmaster.

  2. #2
    SitePoint Zealot Isaiah's Avatar
    Join Date
    Feb 2000
    Location
    San Diego, CA
    Posts
    169
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Aidan,
    In the CSS code that is contained within the head tags, add a class name for the menu:

    A.classformenu1:hover {text-decoration: underline; color: "#FFFFFF";}
    A.classformenu2:hover {text-decoration: underline; color: "#FFFFFF";}

    In the actual external anchor code, add the class variable:

    <a href="menu1.link" class="classformenu1">menu1 link</a>
    <a href="classformenu2.link" class="menu2">menu2 link</a>

    Note: Change "classformenu1" and "classformenu2" to whatever you want.

    HTH! (Hope this helps!)

    ------------------
    Isaiah Walter - Founder and Owner
    Federation Fire - Internet Solutions
    Isaiahacs@aol.com

  3. #3
    SitePoint Enthusiast JustBrowsing's Avatar
    Join Date
    Aug 2000
    Location
    new jersey
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    THANK YOU!!!!!!!!



Bookmarks

Posting Permissions

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