• I’m just beyond newbie when it comes to css (at least I think so, but now I’m not so sure). I’m trying to do something simple, and it’s not working.

    .foo {
    font-family: verdana, arial, sans-serif;
    color: #003399
    }

    .foo a:link {
    text-decoration: none;
    color: #003399;
    }

    .foo a:hover {
    text-decoration: none;
    color: #003300;
    }

    .foo a:visited {
    text-decoration: none;
    color: #003399;
    }

    Everything but a:visited is working. For some reason that just won’t change. I’ve got several other instances of a:visited in my css, and they do work. I’ve gone through everything to make sure it’s all closed, nothing odd or out of the ordinary. Just this one instance doesn’t work. Any ideas?

Viewing 15 replies - 1 through 15 (of 15 total)
  • .foo {
    font-family: verdana, arial, sans-serif;
    color: #003399
    }

    you’re missing something. Add a ; after color…

    Thread Starter f1_error

    (@f1_error)

    Added ; (thanks for catching that). But it didn’t work the visited link is still messed up.

    Well, when I’m testing your links it’s working for me..

    Thread Starter f1_error

    (@f1_error)

    Testing my links is more ambition than I had hoped for.
    The links I’m currently working on are the Uncategorized & Comments >> link area.
    In the style.css the offending code begins at line 188 (at least by BBEdits count).
    I’m using Firefox 1.0 on OSX for testing right now, but the visited link color is still default in Safari and MacIE, in otherwords; no change. I’ve no idea how this looks on a WinBox yet.
    Does this still show as working properly for you?

    Try putting a:visited in the CSS before a:hover.

    Thread Starter f1_error

    (@f1_error)

    Done. No change.
    It’s frustrating, because I’m almost sure I did it right. But as I said, I’m just beyond newbie, so maybe I didn’t.

    Well currently the visited color is the same as the link 🙂

    Thread Starter f1_error

    (@f1_error)

    After thinking about this for a few hours now, I’m beginning to wonder if this might not be a Mac display issue. Of course I’m assuming your on a Windows box. Because no matter what I do, I can’t get rid of that default Puke Pink color for the visited link.
    Maybe I’ll get lucky and another Mac user will come along and help me out.

    Press Ctrl +F5 ?

    url?

    Thread Starter f1_error

    (@f1_error)

    http://gomi.outerworldadult.com/
    It’s still a work in progress (obviously).

    The url posted does not seem to have the code in question in it. For clairvoyance we charge extra:)

    Thread Starter f1_error

    (@f1_error)

    Thats what I meant your code above just isnt in it.

    Thread Starter f1_error

    (@f1_error)

    The css code is on about line 198 of stlye.css. It’s not ‘foo’ as I used in the example above, it’s postmetadata. Sorry about that confusion. I was only using foo as an example.

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘css Issue’ is closed to new replies.