Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Joel Rivera
Joel Rivera
29,401 Points

Bootstrap 3 - Respond.js - IE8 and less

Hi, I built my site using bootstrap 3 and I thought that if I used respond.js for old ie, that I would get the support for media queries etc.

Unfortunately It seems like thats not the case and when I test using Microsoft developer tools and go to ie8 and ie8 standards mode the site breaks.

Any tips on how to get it to work?

2 Answers

Caroline Hagan
Caroline Hagan
12,612 Points

Have you got any online links we can take a look at, Joel Rivera ?

James Barnett
James Barnett
39,199 Points

Hey Caroline Murphy it's great to see you back on the forum.

Joel Rivera
Joel Rivera
29,401 Points

Hello Caroline,

Here is the site I am working on. Thank you for your help.

http://www.bronxpad.com

I am pretty sure it is do with respond not being found in IE 8... I think.

Could you try loading this:

<!--[if lte IE 8]>
  <script src="../../assets/js/html5shiv.js"></script>
  <script src="../../assets/js/respond.min.js"></script>
<![endif]-->

Also download respond from the latest version, as this maybe the fault:

RESPOND.JS GITHUB

Hope this helps.

Joel Rivera
Joel Rivera
29,401 Points

Thanks I tried that and it sadly didn't work. I also tried a more powerful option called css3-media-queries.js and that didn't work either. SMH I might just abandon Bootstrap for this project.

Thanks for your help. I appreciate the community here.

If it helps I would get testing on IE (version you need) and use firebug.

Its not as bad as you think (add it as a bookmark), it's a shame since you have done all the leg-work anyway.

Hope all ends well.