Home › Forums › CSS › Bootstrap fixes IE8 not working for me yet › Reply To: Bootstrap fixes IE8 not working for me yet
August 20, 2014 at 1:40 pm
#180037
Participant
I just wanted to add I was also having this problem, the solution for me was to make sure you add:
<!--[if lt IE 9]>
<script src="http://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="http://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
AFTER you link your CSS NOT before.
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<!--[if lt IE 9]>
<script src="http://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="http://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
If your CSS is linked after the respond.js it doesn’t work!