Bootstrap IE background color issue

前端 未结 3 1151
情歌与酒
情歌与酒 2021-01-12 21:39

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

Here is the website: http://iioengine.com/

The top navbar h

相关标签:
3条回答
  • 2021-01-12 22:32

    This is being caused by a MS filter gradient on .navbar-inverse .navbar-inner {}

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

    div.navbar-inverse .navbar-inner {
        filter: none;
        background-color: none;
    }
    
    0 讨论(0)
  • 2021-01-12 22:37

    I ran into a simlar issue w/IE9 + Bootstrap 3. filter:none did not fix the issue for me. Adding this did:

    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    
    0 讨论(0)
  • 2021-01-12 22:37

    Filter is the problem as pointed out by @Adrift

    0 讨论(0)
提交回复
热议问题