Ways to use bootstrap IE8 compatibility processing

Source: Internet
Author: User
<! DOCTYPE html>

Additional respond.js files are still required for IE8 to support media queries.

1, the effect of the HTTP protocol (such as: http://192.168.12.40:8020/bootstrap/index.html):

2, File protocol IE8 effect (such as: C:\Users\dell\Documents\HBuilderProject\bootstrap\index.html)

As shown, the raster layout is not supported.

The main problems are:

Respond.js and file:// protocols

Due to the security of the browser, Respond.js cannot file:// function properly on the page accessed through the Protocol (the protocol used to open the local HTML file). If you need to test the IE8 response features below, be sure to access the page via the HTTP protocol (for example, Apache, Nginx, etc.).

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.