Bootstrap IE8 compatibility processing, bootstrapie8

Source: Internet
Author: User

Bootstrap IE8 compatibility processing, bootstrapie8

1 <! DOCTYPE html> 2 

For IE8, you still need to introduce the Respond. js file to support media query ).

1. Effects of http protocol (for example, http: // 192.168.12.40: 8020/bootstrap/index.html ):

2. Effect of file protocol IE8 (for example, C: \ Users \ dell \ Documents \ HBuilderProject \ bootstrap \ index.html)

 

As shown in, grid layout is not supported.

 

The main problems are:

Respond. js and file://Protocol

Because of the browser's security mechanism, Respond. js cannot passfile://The Protocol (the protocol used to open the local HTML file) is used to access the page. If you need to test the responsive features under IE8, you must access the page through the http protocol (such as setting up apache and nginx ).

 

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.