Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to force ie9 into compatibility mode ie8

Posted on 2013-01-31
9
Medium Priority
?
707 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 750 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
Understanding Linux Permissions

Linux for beginners: How to view the permissions associated with files and directories and also how you can change them.

 
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 750 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

730 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