1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

top menu style issues

Discussion in 'Empty Closets Help and Feedback' started by joeyconnick, Jun 3, 2005.

  1. joeyconnick

    joeyconnick Guest

    Joined:
    Apr 12, 2005
    Messages:
    3,069
    Likes Received:
    0
    Location:
    Toronto, ON
    Gender:
    Male
    Sexual Orientation:
    Gay
    Out Status:
    Out to everyone
    Hi there,

    Yes, I truly am an HTML nerd. I noticed that hovering wasn't working for some of the links at the top of the emptyclosets pages (home resources forum contact us)

    The reason is because of the order of the style definitions in the style1 class:

    Code:
    /* ***** emptyclosets top menu ***** */
    .style1 {
    	font-size: 10px;
    	font-family: tahoma, verdana, arial;
    	color: #FFFFFF;
    	}
    .style1 a { color: #FFFFFF; text-decoration: none; }
    .style1 a:hover { color: #666666; text-decoration: none; }
    .style1 a:visited { color: #FFFFFF; text-decoration: none; }
    a:visisted is defined after a:hover, which means that if you've already visited a link, the visited style overrides the hover style, which means visited links don't change colour when you mouseover them.

    This can be fixed by just swapping the order of the last two lines above, so that a:hover is defined last.
     
    #1 joeyconnick, Jun 3, 2005
    Last edited: Jun 3, 2005
  2. nisomer

    Full Member

    Joined:
    Mar 7, 2005
    Messages:
    561
    Likes Received:
    1
    Location:
    MN
    hmm nice find. but do u think it is a mistake or like that on purpose? i noticed that many sites i go to are like that as well.
     
  3. joeyconnick

    joeyconnick Guest

    Joined:
    Apr 12, 2005
    Messages:
    3,069
    Likes Received:
    0
    Location:
    Toronto, ON
    Gender:
    Male
    Sexual Orientation:
    Gay
    Out Status:
    Out to everyone
    I'm pretty sure it's a mistake... what's the point of having hover if you're going to turn it off after you've visited the link even once?

    If it's not a mistake, it's a pretty lame design (IMNSHO).
     
  4. Corny

    Corny Guest

    Joined:
    Dec 22, 2004
    Messages:
    620
    Likes Received:
    0
    Gender:
    Androgyne
    no, you're right it was a bug :slight_smile:
    thanks for the hint, it's corrected now.
     
  5. joeyconnick

    joeyconnick Guest

    Joined:
    Apr 12, 2005
    Messages:
    3,069
    Likes Received:
    0
    Location:
    Toronto, ON
    Gender:
    Male
    Sexual Orientation:
    Gay
    Out Status:
    Out to everyone
    Yay I wasn't being anal retentive for no reason! (!)
     
  6. goratrix

    Full Member

    Joined:
    Apr 1, 2005
    Messages:
    519
    Likes Received:
    0
    *blinks*
    I am amazed you actually noticed that. I didn't even realied there was a top menu until I read this post and tried to understand where the problem was...
    *blinks again*
     
  7. joeyconnick

    joeyconnick Guest

    Joined:
    Apr 12, 2005
    Messages:
    3,069
    Likes Received:
    0
    Location:
    Toronto, ON
    Gender:
    Male
    Sexual Orientation:
    Gay
    Out Status:
    Out to everyone
    I'm a great proofreader, too. :stuck_out_tongue_closed_eyes:

    ADD: And my rates are great!
     
    #7 joeyconnick, Jun 4, 2005
    Last edited: Jun 4, 2005