SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: Lost hyperlinks

  1. #1
    SitePoint Zealot gidday's Avatar
    Join Date
    Jan 2007
    Posts
    191
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lost hyperlinks

    Hi Folks

    Well my site continues to give me grief. Now, whenever I follow a link on a page, not from the menu, the text disappears ie it turns white and the hover over effect (simple color change and underline) does not appear. Also, the link is still active and clickable.

    So can someone have a look at www.kangacup.com/contact.asp give me a pointer as to the problem. It's got me stumped.

    Thanks

    Joe

  2. #2
    SitePoint Wizard
    Join Date
    Dec 2003
    Location
    USA
    Posts
    2,582
    Mentioned
    29 Post(s)
    Tagged
    0 Thread(s)
    Hmm, I actually couldn't find the cause either.

    However, if you put an !important next to color for a:visited:
    Code:
    a:visited {
    color: #0000CC !important;
    }
    it can solve the problem because it makes that color override all others (when it is visited).

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    You have defined the visited state for all anchors to be white here
    :
    Code:
    .button a:link, a:visited {
        color: #fff;
        text-decoration: none;
    }
    I assume you meant this:

    Code:
    .button a:link,.button  a:visited {
        color: #fff;
        text-decoration: none;
    }

  4. #4
    SitePoint Wizard
    Join Date
    Dec 2003
    Location
    USA
    Posts
    2,582
    Mentioned
    29 Post(s)
    Tagged
    0 Thread(s)
    Ah, I completely missed that. Nice catch.

  5. #5
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Ah, I completely missed that. Nice catch.
    I've seen it done a number of times before so I knew what to look for

  6. #6
    SitePoint Zealot gidday's Avatar
    Join Date
    Jan 2007
    Posts
    191
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Paul

    I thought I was getting okay at this. Just shows you.....

    Joe


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
  •