Bootstrap IE的背景颜色问题 [英] Bootstrap IE background color issue

查看:128
本文介绍了Bootstrap IE的背景颜色问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎无法更改我的导航栏在IE9的背景颜色。网站使用Twitter-Bootstrap

I can't seem to change the background color of my navbar in IE9. The site uses Twitter-Bootstrap

以下是网站: http:// iioengine.com/

顶部导航栏在每个浏览器中都有一个白色背景,而不是IE。它是黑色的IE。我尝试用CSS的元素的每一个部分,但没有影响其在IE中的颜色。

The top navbar has a white background in every browser other than IE. It's black in IE. I've tried targeting every part of the element with CSS but nothing has effected its color in IE.

我还设置了 background-image $

任何人都知道问题是什么或什么需要定位? IE正在驱使我疯狂..感谢

Anyone know what the issue is or what I need to target? IE is driving me crazy.. Thanks

解决方案:

.navbar-inverse .navbar-inner{
  filter:none;
  background-color:white;
}


推荐答案

MS 过滤器渐​​变在 .navbar-inverse .navbar-inner {}

解决方案是在你自己的样式表中用 none 覆盖这个:

The solution is to override this with none in your own stylesheet:

div.navbar-inverse .navbar-inner {
    filter: none;
    background-color: none;
}

这篇关于Bootstrap IE的背景颜色问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆