Discussion:
how to do mouse hover in IE6
(too old to reply)
Allen Bates
2009-07-26 01:13:39 UTC
Permalink
The entire html works fine with all known browsers, includeing IE7 & IE8.
This following menu hover fix is not working in IE6.
Can you please tell me simple solution without script or activeX control?

<!--[if IE]>
<style type="text/css" media="screen">
#menu ul li {float: left; width: 100%;}
</style>
<![endif]-->
<!--[if lt IE 7]>
<style type="text/css" media="screen">
body { behavior: url(csshover.htc); font-size: 100%; }
#menu ul li a {height: 1%;}
</style>
<![endif]-->
rob^_^
2009-07-26 21:46:18 UTC
Permalink
HI Allen,

Place the second conditional comment first to allow it to cascade.

The IE Web Developers Forum

http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads

Regards
Post by Allen Bates
The entire html works fine with all known browsers, includeing IE7 & IE8.
This following menu hover fix is not working in IE6. Can you please tell
me simple solution without script or activeX control?
<!--[if IE]>
<style type="text/css" media="screen">
#menu ul li {float: left; width: 100%;}
</style>
<![endif]-->
<!--[if lt IE 7]>
<style type="text/css" media="screen">
body { behavior: url(csshover.htc); font-size: 100%; }
#menu ul li a {height: 1%;} </style>
<![endif]-->
Allen Bates
2009-07-29 00:47:18 UTC
Permalink
Post by rob^_^
HI Allen,
Place the second conditional comment first to allow it to cascade.
The IE Web Developers Forum
http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads
Regards
Post by Allen Bates
<!--[if lt IE 7]>
<style type="text/css" media="screen">
body { behavior: url(csshover.htc); font-size: 100%; }
#menu ul li a {height: 1%;} </style>
<![endif]-->
Rob, thank you.
Can you tell me where to find IE6 onmouseover and onmouseout to implement
hover without active X control, Script or any active contents?

Loading...