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.
精彩评论