Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 725
  • Last Modified:

How to force ie9 into compatibility mode ie8

Hi Experts,

I got the following DOCTYPE script which forces ie9 into compatibility mode ie8 when is executed as html file:
________________________________________________________________________________________________
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="x-ua-compatible" content="IE=8">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>About blah</title>
      <link rel="stylesheet" type="text/css" href="@CONTEXT_URL@css/main.css"/>
</head>
---------------------------------------------------------------------------------------------------------------------------
It does work and open a blank page, but my question is How do I include a webpage within the script, in other words How do I execute a html page to open in ie8 compatibility mode, such as opening google.com or yahoo.com by double clicking a shortcut and goes directly to ie 8 compatibility mode without hitting F12
0
Islandr
Asked:
Islandr
  • 3
  • 3
  • 3
2 Solutions
 
COBOLdinosaurCommented:
You cannot.  To do that you would have to be able to modify the code on the web page, and you do not have access to that code pre-load. It is not until after the page is loaded that you have the ability to override by using f12.

You could also set pages for compatibility with the compatibility view from tools in IE9.

Cd&
0
 
jcimarronCommented:
Islandr--IE9 also has Compatibility View.  Why do you want to use it only in IE8?
http://windows.microsoft.com/en-US/internet-explorer/products/ie-9/features/compatibility-view
0
 
IslandrAuthor Commented:
COBOLdinosaur/jcimarron,

The compatibility mode does not work, I had to keep changing it to view that web page, I really want it force to ie8 on a different tab or another windows and at least leave it there on ie8 and have ie9 running on another section.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
COBOLdinosaurCommented:
Not going to happen in this universe.

Cd&
0
 
jcimarronCommented:
Islandr--What is the website that you want to see in Compatibility View?  
"I had to keep changing it to view that web page"    ???
0
 
IslandrAuthor Commented:
jcimarron,

Here is the website that I need to work with, the problem is that there is an application that need to run that required ie8 compatibility mode:

http://www.fedidcard.gov/implactivation.aspx

So what I am looking for is to open that website in ie8 compatibility mode and perform the work that I need to accomplished.

Thanks,
0
 
jcimarronCommented:
Islandr--Once you click the Compatibility View button (as shown in
http://windows.microsoft.com/en-US/internet-explorer/products/ie-9/features/compatibility-view  )
the site will always open in Compatibility View since the site is now entered into the list in IE Tools|Compatibility View settings.

However I think you may be talking about running an application in Compatibility Mode.  This has nothing to do with Internet Explorer.  It is a function of Windows.  Right click on the executable for the app then Properties.  You should see a tab called Compatibility Mode.  You can change the version of Windows the app will run in.
0
 
IslandrAuthor Commented:
After so much research on the web, came to the conclusion that COBOLdinosaur/jcimarron were correct.
0
 
COBOLdinosaurCommented:
The B grade would suggest you do not think we are correct.  As providing the correct answer was the best possible effort we could make; a B grade can only mean that we are somehow being blamed for a perceived flaw in IE which we are not responsible for.

Is there some other explanation of why this has been under-graded.  

Cd&
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now