【发布时间】:2013-12-14 01:24:43
【问题描述】:
我有一个 wordpress 网站在 Internet Explorer 8 中遇到兼容性问题。http://www.sunsetbaycharters.net
导航菜单无法在 IE8 和 IE7 中正确加载。
IE8 中的导航错误
另外,我网站中的内容框在 IE8 中不是透明的。我知道这是因为我使用的是 RGBA,我需要知道如何修复它。
请告诉我如何修复 IE8 和 IE7 中的导航菜单和 rgba 透明框。
导航菜单的 CSS 代码:
div#top-menu, div#top-menu.et-fixed {
background-color: white;
position: fixed;
top: 0px;
left: 0px;
width: 100%;
z-index: 1000;
box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.8);
height: 80px;
text-align: center;
}
【问题讨论】:
-
IE8 麻烦。还有什么是新的? :p (另外,这个网站很漂亮。)
-
请显示此菜单的css代码......
-
div#top-menu, div#top-menu.et-fixed { 背景颜色:白色;位置:固定;顶部:0px;左:0px;宽度:100%; z 指数:1000;盒子阴影:0px 0px 10px 2px rgba(0, 0, 0, 0.8);高度:80px;文本对齐:居中; }
-
在 IE8 中它工作得很好....但在 IE 7 中不能正常工作......
-
@Rony:我使用的是 IE8 8.0.6001.18702,我在两台电脑上都遇到了问题。
标签: css firefox internet-explorer-8 cross-browser compatibility