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!

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


Gary Law
Gary Law
14,632 Points

How can I make Bootstrap 3 compatible with IE8?

I am using bootstrap 3 to build my website and found that the navigation bar is not compatible with IE8.

Could anyone teach me how to solve this?

thanks so much~

2 Answers

Tom Bedford
Tom Bedford
15,645 Points

Do you have html5shiv and respond.js included for IE8 as recommended?

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
James Barnett
James Barnett
39,199 Points

There's a whole section of bootstrap's getting started docs for IE8