Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS a:href color different in IE and other browsers

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #43293
    apart
    Participant

    Hey guys.
    [codepen](http://codepen.io/markomarkogame/pen/Hhulv “codepen”)

    Open it up in Firefox or Chrome and then in Internet Explorer.
    You will see link color is different.
    I would love to have links below “Last from blog” to be blue but it seems like I can’t.
    They should be by default since i have it set already
    _a:link,a:visited{
    text-decoration:none;
    color:#2358b1;
    }_

    Help please :)

    #127686
    Paulie_D
    Member

    Are you sure that is a valid hex colour?

    #127687
    CrocoDillon
    Participant

    That color is overridden by:

    .linkovidno li a:link, .footerunutra a:visited{
    color:#171717;
    }

    I don’t know why IE ignores that though.


    @Paulie_D
    why wouldn’t it be? Hex color can have 3 or 6 digits from 0-9 and a-f :)

    #127713
    Kitty Giraudel
    Participant

    > Are you sure that is a valid hex colour?

    Of course #2358B1 is a valid hex color. Tired Paulie? :P

    #127742
    Paulie_D
    Member

    >Of course #2358B1 is a valid hex color. Tired Paulie? :P

    Away for the weekend…and ‘tired?’…No…..drunk..possibly.! :)

    #127764
    apart
    Participant

    CrocoDillon thanks :)

    When i was changing div names it left out visited so thats why it was like this:

    .linkovidno li a:link, .footerunutra a:visited{
    color:#171717;
    }

    it is now

    .linkovidno li a:link, .linkovidno a:visited{
    color:#171717;
    }

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.