IE text rollover effect - not working

Discussion in 'HTML & Website Design' started by math20, Jul 29, 2006.

  1. #1
    How do I get the IE text rollover effect to work? Works fine in FF; heres the link.

    Thanks in advance!
     
    math20, Jul 29, 2006 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    IE doesn't support :hover on anything but the a element. Do a:hover {??}, and you should be OK.

    cheers,

    gary
     
    kk5st, Jul 29, 2006 IP
  3. phlint

    phlint Peon

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yea, somethings work in IE but not firefox, some things work in Firefox but not IE... you gotta make it work for both!
     
    phlint, Jul 29, 2006 IP
  4. roEinstein

    roEinstein Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    In IE "hover" only works on <a> tags. You need to change your nav class to look like this instead of what you got..

    a.nav:hover {
    font-size:24px;
    border-bottom:#ffffff solid 3px;
    color:#ffffff; }

    Also your code is broken near the bottom near the <li> classes and that can cause problems too :p
     
    roEinstein, Jul 29, 2006 IP
  5. math20

    math20 Peon

    Messages:
    1,562
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Tried that and still doesn't work.
     
    math20, Jul 29, 2006 IP
  6. roEinstein

    roEinstein Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hmm, may need to add an "a.nav" too or use "text-decoration: underline;" rather than "border-bottom:#ffffff solid 3px;"
     
    roEinstein, Jul 29, 2006 IP
  7. esnstudio

    esnstudio Peon

    Messages:
    12
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Just change the height of #nav:

    #nav{
    position:absolute;
    top:120px;
    text-align:left;
    height:50px;
    }
     
    esnstudio, Jul 29, 2006 IP
  8. math20

    math20 Peon

    Messages:
    1,562
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Wow, can't believe I didn't think of that! Thanks a million!
     
    math20, Jul 29, 2006 IP
  9. esnstudio

    esnstudio Peon

    Messages:
    12
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    You're welcome. :)
     
    esnstudio, Jul 29, 2006 IP