Almost all bootstrap styles do not work in IE8. Works fine in chrome and firefox

I am working on a classic .asp site and use bootstrap for styling. Everything works fine in chrome and firefox, but almost all styles are missing in IE8.

I use bootstraps carousel and modal and none of them look the way they should. The carousel is simply displayed as a series of images and none of the back / forward buttons work.

The modal style is not designed at all and has just been inserted into the page as a "box" with a frame "(no background, rounded corners, or anything else).

I tried a few more styles of the bootstrap library like tables and buttons and nothing looks like this. I know that bootstrap.css is part of some styles (like button colors). Bootstrap js works great.

Is there anything additional that I need to add to my html documents (document types or what is wrong) in order to make bootstrap work the same as in IE?

I am using bootstrap v2.2.2

Thanks in advance!

+8
css internet-explorer-8 twitter-bootstrap
source share
2 answers

Ok, so I figured it out. Wow, this is really stupid. Apparently, I ran IE in quirks mode. This is what happens when you let the step-down guy mess around in the windows. Anyway, thanks for the feedback.

+4
source share

Here are some HTML5 snippets (see below) that are needed to support a document such as HTML5 in IE8 and below. Have you checked if this is all on the pages you created?

<!-- HTML5 shim, for IE6-8 support of HTML5 elements --> <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> 
+11
source share

All Articles