Bootstrap is compatible with media queries in ie8 and bootstrapie8

Source: Internet
Author: User

Bootstrap is compatible with media queries in ie8 and bootstrapie8

When I recently used bootstrap for my website, I found that the media query in ie8 has always been invalid:

Later, we solved the problem and made the following record:

1. It must run under the server

2. the hack condition syntax is as follows:

<! -- [If lte ie 9]> <script src = "js/html5shiv. min. js "> </script> <script src =" js/respond. min. js "> </script> <! [Endif] -->

In this case, ie9 also loads the above two documents and changes them to [if lte ie 8] or [if lt IE 8]. I don't know why, if anyone knows, please leave a message. Thank you!

3. If there is a problem with the js plug-in the framework, it is common that the collapsed navigation icon does not display the drop-down menu. We recommend that you use jQuery1.x.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.