Another web coding question...

Discussion in 'Computers' started by Steerpike, Nov 19, 2009.

  1. Steerpike
    Offline

    Steerpike VIP Member

    Joined:
    Dec 17, 2007
    Messages:
    1,847
    Thanks Received:
    182
    Trophy Points:
    83
    Ratings:
    +182
    I have the following text in my code:

    <style type="text/css">
    a:link {color: #000000} /* unvisited link */
    a:visited {color: gray; font-style: italic} /* visited link */
    a:hover {color: #blue} /* mouse over link */
    a:active {color: #00000}
    </style>


    The a:hover works in Chrome and Firefox, but not in IE 8. Anyone think of a reason why or know what I have to use for IE 8 to see it right?

    Keep in mind I am NOT a programmer :)
     
  2. Steerpike
    Offline

    Steerpike VIP Member

    Joined:
    Dec 17, 2007
    Messages:
    1,847
    Thanks Received:
    182
    Trophy Points:
    83
    Ratings:
    +182
    Never mind, I'm an idiot. Problem solved.

    In case anyone is interested, I had to remove the "#" from in front of the word "blue." The other browsers ignored it but IE is a stickler I guess. I hate crap like that because I'll stare at it forever and not see it. My brother ended up catching it.
     
  3. KittenKoder
    Offline

    KittenKoder Senior Member

    Joined:
    Sep 21, 2008
    Messages:
    23,281
    Thanks Received:
    1,711
    Trophy Points:
    48
    Location:
    Nowhere
    Ratings:
    +1,714
    Typos are a bitch ... aren't they. :lol: I just pounded through a few myself in Java.
     

Share This Page