IE8: Div hover only works when background color is set, very strange, why?

后端 未结 8 1604
遇见更好的自我
遇见更好的自我 2020-12-10 04:55

Situation: Got a div with buttons images. Div needs to fadeIn on hover. Works in all browsers, except Internet Explorer. When I give the div a background co

相关标签:
8条回答
  • 2020-12-10 05:31

    This is due to has layout. Using position:relative will give the same result without use of a unwanted background image.

    0 讨论(0)
  • 2020-12-10 05:32

    I recently ran in to this problem also. I also solved it by adding a 1 by 1 px transparent background image to the hover element. I felt like taking a shower afterwards.

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