Skip to content

Twitter Bootstrap not working on IE8

Twitter Bootstrap 3 is supported by Internet Explorer 8 but there are a few things you need to do (the right way) in order to work. Including html5shiv and respond js will not suffice sometimes.

 <!--[if lt IE 9]>
     <script src="/html5shiv.min.js"></script>
     <script src="/respond.min.js"></script>

So if you don’t manage to fix IE8 errors after including the scripts above, check the following:

  • This is the most common error – Make sure you include the bootstrap CSS file from a local folder. not a CDN. More info on this you can find here.
  • Make sure you have a valid HTML5 doctype – <!DOCTYPE html>
  • Make sure you include the above scripts in the <head> section of the file

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *