Grow your CSS skills. Land your dream job.

[Solved] IE 7 menu Hover probem?

  • # February 14, 2010 at 5:57 pm

    I`m having weird problem with IE 7 only , Hover styles is applied except for the background color ? the text-color changes but not the background color ?

    what shall i do to fix this ?

    Code:
    #nav li a {
    padding:10px 20px;
    display:block;
    text-align:center;
    color:#fff;
    text-decoration:none;
    text-transform:uppercase;
    }

    #nav li a:hover,#nav li a.current{
    background:#fff;
    color:#2b4197;
    }

    # February 14, 2010 at 7:16 pm

    I managed to solve it it has something to do with hasLayout

    i just added min-width:1px; to make work

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".