Code to enable IE8 in IE7 compatibility mode

Code to enable IE8 in IE7 compatibility mode
The most popular tag is IE8

Browser vendors are scrambling to release version updates

Some web pages also have compatibility issues with IE8

A simple line of code allows IE8 to automatically call IE7's rendering mode

Just add the following HTTP meta-tag to your page:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

As long as IE8 reads this tag, it will automatically start IE7 compatibility mode to ensure the complete display of the page

<<:  An article to help you understand the basics of VUE

>>:  How to configure the pdflatex environment in docker

Recommend

JS removeAttribute() method to delete an attribute of an element

In JavaScript, use the removeAttribute() method o...

Batch replace part of the data of a field in Mysql (recommended)

Batch replace part of the data of a field in MYSQ...

Tutorial on installing MySQL 5.7.18 using RPM package

system: CentOS 7 RPM packages: mysql-community-cl...

CSS multi-column layout solution

1. Fixed width + adaptive Expected effect: fixed ...

display:grid in CSS3, an introduction to grid layout

1. Grid layout (grid): It divides the web page in...

Detailed explanation of the configuration method of Vue request interceptor

Follow the steps below 1. request.js content: htt...

A brief analysis of whether using iframe to call a page will cache the page

Recently, I have a project that requires using ifr...

HTML tag ID can be a variable

<table id=" <%=var1%>">, the...

Vue interpretation of responsive principle source code analysis

Table of contents initialization initState() init...

The difference and use of json.stringify() and json.parse()

1. Differences between JSON.stringify() and JSON....

React introduces antd-mobile+postcss to build mobile terminal

Install antd-mobile Global import npm install ant...

Comprehensive explanation of CocosCreator hot update

Table of contents Preface What is Hot Change Coco...