Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member szero's Avatar
    Join Date
    Feb 2004
    Location
    Northeast PA
    Posts
    20
    Member #
    4919
    I'm not sure if this is the right place to ask for help, but I'm having a bit of trouble with my site. I'll link you guys first and then I'll describe the problem.

    http://personal.shockzero.com/4/

    Now, The only problem I've come across with my site is with the navigation links. I want them to have a different background + text color on hover. Now, this works fine when you're looking at the site for the first time...but after you've clicked on a link, it won't change on hover anymore. I don't know what's wrong. I also want to know how to make it look slightly different when active (like CNN.com)...I have a css setting for active links but that doesn't seem to be working either.

    Help!

    css file is at http://personal.shockzero.com/4/style.css

  2.  

  3. #2
    Senior Member splufdaddy's Avatar
    Join Date
    Feb 2003
    Location
    Boston, MA
    Posts
    4,488
    Member #
    735
    Rearrange the order that you list the classes in your CSS file. For a visited link, there are two possible classes for it on mouseover: visited, and hover. The page will use the class that's listed last. If you list them in the order "link, visited, hover" it should work.

  4. #3
    Junior Member szero's Avatar
    Join Date
    Feb 2004
    Location
    Northeast PA
    Posts
    20
    Member #
    4919
    Thank you!

  5. #4
    Junior Member
    Join Date
    Apr 2008
    Posts
    7
    Member #
    16665
    Yeah just as splufdaddy said, that should work.

    When creating your CSS for links always put it in that order. The easiest to to remember it (well for me anyway) is to think of the phrase:-

    LOVE HATE
    Link, Visited, Hover, Active


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:37 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com