Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

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.