41 users online (0 members and 41 guests)  

Thread: css stuff...


  Results 1 to 4 of 4

Related

  1. Web Rank in this stuff    Forum: Search Engine Optimization - SEO - Forum
    Replies: 1
  2. So Much Old Stuff....    Forum: General Discussion
    Replies: 4
  3. PHP and stuff    Forum: PHP Forum
    Replies: 2
  1. #1
    geek987's Avatar
    Man Utd Fans

    Status
    Offline
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    156

    css stuff...

    i'm having a problem with this CSS i'm using:

    <!--
    a:link { text-decoration: underline; color: black }
    a:hover { text-decoration: underline; color: #CF2830 }
    a:visited { text-decoration: underline; color: black}
    body {
    scrollbar-base-color: #CF2830;
    scrollbar-arrow-color: #000000;
    }
    -->
    when i hover over my visited link the font stays black. i want it to turn #CF2830 like a normal link, how can i do it?

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662

    Exclamation

    Hi mate.

    The browser reads the style sheet from top to bottom. So...

    Make a:hover the last one in your style sheet. This will then overwrite the fact thats it visited, too.

    Let me know if this works, I didn't test it much
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    ianru's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Sep 2002
    Posts
    61
    Also test the actually color of it is web-safe and stuff, you might have just put an extra space or something, oh and check teh "body" part fo the html document too!

  4. #4
    geek987's Avatar
    Man Utd Fans

    Status
    Offline
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    156
    i did wat dean said and it worked!



Tags for this Thread