Solved

document mode 7

Posted on 2014-01-25
6
358 Views
Last Modified: 2014-01-28
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,
0
Comment
Question by:ethar1
  • 3
  • 2
6 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39810417
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&
0
 

Author Comment

by:ethar1
ID: 39810708
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.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39813115
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&
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:ethar1
ID: 39814188
<!DOCTYPE html>
btw, when I open Developer Tools F12 , and change the document mode to 7, it work perfectly.
0
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 39814240
Hi,
IE is very picky if the meta tag is not one of the very first elements in the html head, therefore can you ensure that this meta tag is on top (with nothing else than the head tag before)?
Which web server are you using?
If its IIS then you can also configure IIS to send additional header information, setting the http-equiv directly there:
http://weblogs.asp.net/joelvarty/archive/2009/03/23/force-ie7-compatibility-mode-in-ie8-with-iis-settings.aspx

HTH
Rainer
0
 

Author Comment

by:ethar1
ID: 39815092
work , thanks
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now