【发布时间】:2013-02-23 04:38:45
【问题描述】:
在谷歌搜索和弄乱我的 CSS 两天后,我放弃了向你们寻求帮助。 我完全在 CSS 中创建了一个带有下拉菜单的导航菜单。 到了在IE9下测试这个的时候,显然不行。
下拉列表看起来是透明的,我无法弄清楚为什么我的生活。在其他浏览器中一切正常,但我似乎找不到 IE 不理解的属性。
我怀疑这部分:
nav ul ul li {
float: none;
border-bottom: 1px solid #b7b7b7;
border-top: 1px solid #fff;
position: relative;
background: -webkit-linear-gradient(#eeeeee 0%, #d4d4d4 100%);
background: linear-gradient(#eeeeee 0%, #d4d4d4 100%);
background: -moz-linear-gradient(#eeeeee 0%, #d4d4d4 100%);
background: -o-linear-gradient(#eeeeee 0%, #d4d4d4 100%);
-moz-box-shadow: inset 2px 2px 5px #ccc;
-webkit-box-shadow: inset 2px 2px 5px #ccc;
box-shadow: inset 2px 2px 5px #ccc;
}
IE 有没有可能看不到背景?我在这里附上了小提琴:http://jsfiddle.net/VU37g/
欢迎任何有关 CSS 的帮助或 cmets,并提前致谢!
【问题讨论】:
标签: internet-explorer css transparency