Solved

How to force ie9 into compatibility mode ie8

Posted on 2013-01-31
9
675 Views
Last Modified: 2013-11-19
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
Comment
Question by:Islandr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 3
9 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 250 total points
ID: 38840333
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
 
LVL 50

Expert Comment

by:jcimarron
ID: 38840429
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
 

Author Comment

by:Islandr
ID: 38840568
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
Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 38840613
Not going to happen in this universe.

Cd&
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 38840702
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
 

Author Comment

by:Islandr
ID: 38840718
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
 
LVL 50

Assisted Solution

by:jcimarron
jcimarron earned 250 total points
ID: 38840863
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
 

Author Closing Comment

by:Islandr
ID: 38861191
After so much research on the web, came to the conclusion that COBOLdinosaur/jcimarron were correct.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 38861656
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

RoboForm Secure Password Management System

RoboForm Everywhere - Superb Browser Support
Windows / Apple / IOS / Android / Linux / Chrome OS
Use different complex passwords everywhere
Best Secure Password Management by far
Synchronize all of your devices instantly
Safe, Secure & Highly Recommended!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

739 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