开发者

mouseover not working in ie6

I am using below code to call a div on hover,it is working fine on ie7+,ff and chrome, but not in ie6.

<div class=开发者_JAVA百科"business-bottom-content" onMouseOver="javascript:this.className='business-bottom-content-hover';" onMouseOut="javascript:this.className='business-bottom-content'">


I'm not sure if it applies to onMouseOver as well, but :hover in CSS only works for a elements in IE6.

As for what you are trying to do, I would also recommend using :hover in CSS instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜