img:hover not working in ie

前端 未结 2 1796
余生分开走
余生分开走 2020-12-22 09:48

css:

.myim { 
    width:50; 
    height:50;
}
.mydiv { 
    float:right; 
    position:absolute; 
    -index:2;
}
.myim:hover {
    width:50;
    height:50;
         


        
相关标签:
2条回答
  • 2020-12-22 10:26

    Since I remember, IE doesn't identify hover for non-a tags.

    0 讨论(0)
  • 2020-12-22 10:33

    hover can be applied only to anchot tags....

    the better solution for your query is to use jquery. its very simple to learn and build good website.

    for jquery video tutorials see this link http://net.tutsplus.com/articles/web-roundups/jquery-for-absolute-beginners-video-series/. if you are a newbee to jquery this video tutorial will be so useful..

    0 讨论(0)
提交回复
热议问题