Code for IE8 to start IE7 compatibility mode

Time:2021-9-20

IE8 is the most popular tag

Browser manufacturers scramble to release version updates

Some web pages also have compatibility problems with IE8

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

You only need to add the following HTTP meta tag to the 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