id.ot
id.ot

Reputation: 3131

X-UA-Compatible - render page with installed version of IE

Does using <meta http-equiv="X-UA-Compatible" content="IE=100" > (with <!DOCTYPE html> as the first line of the page) ensure the users installed version of IE will be used?

For example, if a person has IE8 installed and I have the above meta tag in my page, will the browser and document mode remain at their currently installed version (Browser Mode: IE8, Document Mode: IE8)?

Upvotes: 0

Views: 221

Answers (1)

Erik Noren
Erik Noren

Reputation: 4339

The purpose of the X-UA-Compatible tag is to tell newer versions of IE to render a page in an older mode. For example, if you have IE 9 installed but are using styles that aren't rendering properly in IE 9 but look right in IE 8, you can add the tag to tell IE 9 to render the page using the IE 8 mode.

If you want to tell the browser to render using the most recent version of its rendering engine, use IE=edge.

You can find more information about X-UA-Compatible on MSDN.

Upvotes: 1

Related Questions