Bootstrap3 is compatible with Internet Explorer 8! _ Javascript skills

Source: Internet
Author: User
Bootstrap3 is compatible with Internet Explorer 8! The IE8 browser does not support this excellent Css3 feature. Bootstrap writes in the development documentation how to use it for compatibility with IE8, if you are interested, you can refer to the outstanding front-end framework bootstrap is recently used. This framework is very powerful, the framework contains a drop-down menu, button group, button drop-down menu, navigation bar, navigation bar, breadcrumb, paging, layout, thumbnail, warning dialog box, progress bar, and media objects, bootstrap has been pre-defined. When we create a webpage, we only need to directly call the css in it.

Bootstrap is a responsive layout. You can enjoy excellent layout experience on wide screen computers, normal computers, tablets, and mobile phones. This responsive layout is achieved through the Media Query function of CSS3, and different styles are matched according to different resolutions. The IE8 browser does not support this excellent Css3 feature. Bootstrap writes in the development document how to use it for IE8 compatibility. If you want to be compatible with IE6 and IE7, you can search for bsie (bootstrap2)

Bootstrap is definitely not as perfect as Chrome, Firefox, and IE11 in IE8. Some components do not guarantee full compatibility and require Hack.

1. Use html5 Declaration

Space is not allowed here

Note:Is not feasible

2. Add meta tags

Are you sure you want to display the IE version of this web page

 
 

Note: bootstrap does not support the IE compatibility mode. To enable IE to run the latest rendering mode, add the preceding labels to the page. IE = edge indicates that the latest IE kernel is forcibly used, chrome = 1 indicates that if a browser plug-in for IE6/7/8 or another version is installed, Google Chrome Frame

3. Introduce the bootstrap File

The Code is as follows:


4. Introduce html5shiv. min. js and respond. min. js.

Allow browsers that do not (fully) Support html5 to "support" html5 tags

 

5. Add the 1.x Jquery library.

The Code is as follows:

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.