Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/36.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
IE中的Wordpress css错误_Css_Wordpress_Internet Explorer - Fatal编程技术网

IE中的Wordpress css错误

IE中的Wordpress css错误,css,wordpress,internet-explorer,Css,Wordpress,Internet Explorer,我已经建立了一个网页,它在chrome、ff中运行良好,但在IE中却不行。 我发现了许多关于表格和布局的特定错误,但是我似乎无法找出字体和文本转换类型的错误 有人能帮我吗?例如,在IE中,左上角的菜单条目也应为大写。此条目为: .menu-item:not(.menu-item-77) { color: white; text-transform: uppercase; font-weight:normal; margin-bottom:

我已经建立了一个网页,它在chrome、ff中运行良好,但在IE中却不行。

我发现了许多关于表格和布局的特定错误,但是我似乎无法找出字体和文本转换类型的错误

有人能帮我吗?例如,在IE中,左上角的菜单条目也应为大写。此条目为:

.menu-item:not(.menu-item-77)  {
    color: white;   
    text-transform: uppercase;
        font-weight:normal;
        margin-bottom: 4px;
        border-bottom: 1px solid white;    
        text-decoration: none;  
}

我使用wordpress和构造函数主题。

:not
与IE8不兼容您不能在IE8中使用
:not
伪类,请检查是否支持。Internet Explorer 9+支持此高级选择器

如果您需要IE8支持,我鼓励您提供基本样式:

.menu-item {
    color: #FFF
}
然后是你的特定风格:

.menu-item-77 {
    color: #CCC
}

Fiddle:

您指的是哪个IE版本?您测试的是哪个IE版本?您正在声明DOCTYPE吗?它应该与IE8兼容。仅限。应该声明什么DOCTYPE?