Why Bootstrap 3 navbar dropdown doesn't work in IE8?

13,149

Solution 1

bootstrap3 workes fine with ie 8 only you have make sure to add respond.js , html5shiv and latest version of jQuery

like this:

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
 <!--[if lt IE 9]>
  <script src="js/html5shiv.js"></script>
  <script src="js/respond.min.js"></script>
<![endif]-->  

Solution 2

I have tested this so many time in localhost.It will never work in localhost,Jut upload the same folder on your server and then check it will 100% work.

Share:
13,149
Inventor
Author by

Inventor

Updated on August 05, 2022

Comments

  • Inventor
    Inventor almost 2 years

    The bootstrap 3 dropdown doesn't work in IE8, I don't know why, any help on that. some people say because BS added CSS filter property

  • Brian Mains
    Brian Mains over 10 years
    +1 adding the shiv and respond scripts to the head element worked for me.
  • Chris Arasin
    Chris Arasin about 10 years
    Also, respond.js will only work if you're hosting the bootstrap css files yourself, not loading from a CDN.