WordPress.org

Ready to get started?Download WordPress

Forums

css Issue (16 posts)

  1. F1_error
    Member
    Posted 9 years ago #

    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?

  2. eridan
    Member
    Posted 9 years ago #

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

    you're missing something. Add a ; after color...

  3. F1_error
    Member
    Posted 9 years ago #

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

  4. eridan
    Member
    Posted 9 years ago #

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

  5. F1_error
    Member
    Posted 9 years ago #

    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?

  6. Root
    Member
    Posted 9 years ago #

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

  7. F1_error
    Member
    Posted 9 years ago #

    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.

  8. Root
    Member
    Posted 9 years ago #

    Well currently the visited color is the same as the link :)

  9. F1_error
    Member
    Posted 9 years ago #

    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.

  10. Root
    Member
    Posted 9 years ago #

    Press Ctrl +F5 ?

  11. Root
    Member
    Posted 9 years ago #

    url?

  12. F1_error
    Member
    Posted 9 years ago #

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

  13. Root
    Member
    Posted 9 years ago #

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

  14. F1_error
    Member
    Posted 9 years ago #

  15. Root
    Member
    Posted 9 years ago #

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

  16. F1_error
    Member
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.