css - IE6 hack 中的子选择器

标签 css internet-explorer-6 css-selectors

我试图在 IE 6 的 Li 中显示另一个 UL,这是一个下拉菜单。这是我的。

ul.dropdown li:hover > ul 
{
visibility: visible;
border: 1px solid #cccccc;
width: 92px;
background-color: #eeeeee;
 }

现在这在 IE6 中不起作用,我想知道是否有不使用 Javascript 的修复/破解。

我找到了 this QA但不知何故,我认为我的 :hover 干扰了这一点。

有人可以帮忙吗?

谢谢!

最佳答案

原来解决方案是使用我们正在使用的示例中的 jQuery。谢谢大家

关于css - IE6 hack 中的子选择器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4967674/

相关文章:

html - 如何从另一个 div 定位一个 div ...px

javascript - 如何使用 Javascript 选择文本区域中的字符范围?

html - 跨度内联 block

css - 获取 IE6 怪癖模式位置 :absolute rendering in standards mode

html - 对齐 2 :after contents below each other

html - 每三个元素设置样式?

css - 哪个CSS选择器更强?

css - chrome 中的 overflow-y phantom margin

css - 无法在网站上查看源图像文件

html - 在父 div 中,我还有两个元素。如果我删除了一个然后元素的其余部分不垂直居中对齐