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

后端 未结 8 1633
遇见更好的自我
遇见更好的自我 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.

提交回复
热议问题