Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Why cant I force Internet Explorer 8 to compatibility mode

Status
Not open for further replies.

AceOfHearts

New Member
Hi there,

I run a website. It doesn't function well in IE8 as with lots of websites out there. But everyone is talking about a line of code which if used, it will force IE8 into compatibility mode whenever someone uses IE8 to enter the site (makes it behave like IE7 so the website appears as it should).

Code:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

It seems to work for everyone, but what am I doing wrong? The website is https://www.quranicpath.com and you can see the source code in Firefox by right clicking and > View Source Code. Did i place it incorrectly?

Had this prob for a long time before finally decided to ask the very helpful ppl here! Thnx a bunch.
 
Last edited:
Would it not be nice if we did not have to cater to so many different browsers? IE seems to be the biggest pain of the bunch. I do not have an answer for you, but I do feel your pain.

IE sucks... :)
 
Because IE 8 is a minority in the browser wars. Slightly more people still use IE 6, and more people use Firefox than IE 8 with many still using 7 which is till primarily 6 based.
Microsoft somehow got it into their mind that a higher version number means better software and tried to isolate the software they produced using version numbers, which is biteing them in the rear right now.

I say go simple and use more basic HTML code. If I were a web page developer I'd still be aiming for Lynx compatibility =O
 
Last edited:
Hi AceOfHearts,

I had problems with my website also and used this meta tag successfully.

To get it to run correctly it had to be the first tag after the <head> tag. Before any CSS.

So for your site I would change
<head><STYLE>
<!--
a {text-decoration:none}
//-->
</STYLE>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

to

<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<STYLE>
<!--
a {text-decoration:none}
//-->
</STYLE>

Hopefully it is this simple to get it working - it seemed to be for me.

Cheers
Dan
 
Would it not be nice if we did not have to cater to so many different browsers? IE seems to be the biggest pain of the bunch. I do not have an answer for you, but I do feel your pain.

IE sucks... :)


My guy's have to work with 2 separate browsers.

They run a trouble ticket system on one and the main data base on the other. IE 6 is the only one that works with it.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top