IE doesn't recognize :hover for anything but anchors.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
I don't know, I don't mess with this stuff but a quick glance at Vladdy's page made it look like the selector had to be something like,
ul, li { behavior: url('IEFixes.htc') }
div#listmenu ul li:hover ul, div#listmenu ul li.hover ul { display:block }
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
div#listmenu ul li ul {
margin:0;
position:absolute;
width:10em;
left:-1px;
}
div#listmenu ul li ul li {
width:100%;
border-left:1px solid #069; border-bottom:1px solid #069;
border-right:1px solid #069;
}
div#listmenu ul li ul li:first-child {
border-top:1px solid #069;
}
div#listmenu ul li ul {display:none;}
div#listmenu ul li:hover ul {display:block;}
</style>
You can also use this dash of JavaScript. Just make sure you add the ID referenced in the script to match the ID of the menu, and then reference the class that the script creates in your stylesheet.
Your unordered list would have to have an ID attribute of "menu" added to the <ul> tag, and you will have to replace div#listmenu ul li:hover ul {display:block; } with #menu li.menuHover ul {display:block;} in your stylesheet.
We are Linux, you will be assimilated, you will be liberated, you will be confused by our version numbers and installation procedures, resistance is futile...
Trying to optimize a Web page/site for a particular browser is like trying to optimize Tokyo for Godzilla. It's just not going to work.
Bookmarks