Link to home
Start Free TrialLog in
Avatar of ethar turky
ethar turkyFlag for Saudi Arabia

asked on

document mode 7

Dear all,
One of our client's web site work perfectly on ie11  if customer browse the web site in document mode 7...
Using html code How can force ie 11 to browse the web site on 7 ?

thanks,
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

You will need to add this in the head of the document:
<meta http-equiv="x-ua-compatible" content="IE=7">

That should direct the browser to use compatibility mode for ie7.

More detail about how is works can be found on the Microsoft developer site:

http://msdn.microsoft.com/en-us/library/jj676915%28v=vs.85%29.aspx

Cd&
Avatar of ethar turky

ASKER

I already use each one of those:
<metax http-equiv="x-ua-compatible" content="IE=EmulateIE5" >
<metax http-equiv="x-ua-compatible" content="IE=5">
<meta http-equiv="x-ua-compatible" content="IE=7">

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

but nothing effected.
Then either there is something else wrong with the page (like no valid doctype) or it is an as yet unreported bug in IE11.

What doctype are you using?

BTW, anything that relies on IE7 compatibility needs to be re-written because IE10 was the last to support it with native compatibility mode, and IE 11 may be the last to recognize IE7 ever existed.  At some point obsolete pieces have to be replaced or they will fail.

Cd&
<!DOCTYPE html>
btw, when I open Developer Tools F12 , and change the document mode to 7, it work perfectly.
ASKER CERTIFIED SOLUTION
Avatar of Rainer Jeschor
Rainer Jeschor
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
work , thanks