Andreas
Andreas

Reputation: 1479

Set IE11 compatibility mode via HTML

Is there any way of setting the compatibility mode of IE11 through HTML on a page? I have a webpage that contains lots of older specially made components that dont do that well with Internet Explorer 11.

Upvotes: 2

Views: 9506

Answers (2)

azurelogic
azurelogic

Reputation: 786

Polynomial's answer is close. Should be: content="IE=EmulateIE7"

See the following link for how to enable this site-wide in IIS or in web.config: http://blog.codefluententities.com/2012/09/28/how-to-enable-ie-9-compatibility-mode-for-your-website/

Upvotes: 1

Polynomial
Polynomial

Reputation: 3706

You can specify a meta tag to choose the exact type of rendering engine you want IE to use, for example:

<meta http-equiv="x-ua-compatible" content="IE=5">

Full information and options can be found at the following link:

http://msdn.microsoft.com/en-us/library/jj676915(v=vs.85).aspx

Upvotes: 3

Related Questions