Thursday, March 06, 2008 8:28 AM Vimpyboy

IE 8: X-UA-Compatible doesn´t work?

I have been designing a page which works well with Firefox and IE 7 (I had to use conditional comments for IE 7). But whehn I tested it with IE 8 it doesn´t look that good anymore. If i open the developer tools and set the compatibility mode to Strict (Internet Explorer 7), it works though.

But now I don´t have the time to make the necessary CSS changes, so I added the new meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=7" />

Done! Or, is it? Well, apparently it´s just ignored. I still se the page in standards mode, doh!

Am I doing it wrong (guess not), or is it just a bug in IE 8?

 

Filed under: ,

Comments

# re: IE 8: X-UA-Compatible doesn´t work?

Thursday, March 06, 2008 5:55 AM by Joe Chung

I believe the order in which it appears matters.  Try making the META element the first child of your HEAD element.

# re: IE 8: X-UA-Compatible doesn´t work?

Thursday, March 06, 2008 9:22 PM by Luke Moynihan

I've also encountered the same problem. I've tried making it the first child of the head - no go, i've also tried setting it in the http header using php and still it doesn't work.

# re: IE 8: X-UA-Compatible doesn´t work?

Thursday, March 06, 2008 9:53 PM by Luke Moynihan

ok, was a bit to hasty, adding it as the first child element does indeed fix the problem

# re: IE 8: X-UA-Compatible doesn´t work?

Friday, March 07, 2008 2:20 AM by Vimpyboy

Thanks Joe, it works great! :-)

# IE 8: X-UA-Compatible works!

Friday, March 07, 2008 3:03 AM by Community Blogs

In my last post, I said that the X-UA-Compatible tag didn´t work as expected, but thanks to Joe Chung

# re: IE 8: X-UA-Compatible doesn´t work?

Friday, October 31, 2008 1:58 PM by The Chosen One

The order does matter.

It needs to be read before any stylesheets.

# re: IE 8: X-UA-Compatible doesn´t work?

Friday, January 02, 2009 4:55 PM by nick_vitaro

# re: IE 8: X-UA-Compatible doesn´t work?

Tuesday, April 21, 2009 5:45 PM by Armando Borge

Thanks it's was very helpful... But the order is important at least on my script... if i put the tag in other order it's doesn't work correctly...

# re: IE 8: X-UA-Compatible doesn´t work?

Monday, May 11, 2009 11:20 AM by sam

superb, thank you, this even fixed my sifr issues. all hunky again.

But mass adoption of this 'hack' ( and I dont really mean it is a hack, per se ) renders IE8 obsolete :)

# re: IE 8: X-UA-Compatible doesn´t work?

Thursday, May 21, 2009 4:02 PM by Nice

sorted.  Many thanks!

# re: IE 8: X-UA-Compatible doesn´t work?

Monday, May 25, 2009 8:57 PM by Wheretolink

It looks like this problem still exits. I'll pass the word on.  

# re: IE 8: X-UA-Compatible doesn´t work?

Tuesday, June 23, 2009 9:53 AM by Paddy

Thanks for the tip ! This meta didn't seem to work until I made it first child of the head tag... Now everything's workin fine !

:)

# re: IE 8: X-UA-Compatible doesn´t work?

Sunday, November 15, 2009 7:07 PM by Debt

we have tried several methods all teh above work but for seo link juice passing the tag that is prefered after many months testing for debt terms is <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" >

# re: IE 8: X-UA-Compatible doesn´t work?

Friday, January 08, 2010 8:16 AM by Debt Advice

We've tried various methods too - any further update?

Thanks.

# re: IE 8: X-UA-Compatible doesn´t work?

Wednesday, March 10, 2010 4:01 AM by Kausar Mehmood

Putting the meta tag for emulation as first item will definitely solve the problem

# re: IE 8: X-UA-Compatible doesn´t work?

Monday, March 22, 2010 1:36 PM by Meriel

Greeting. Hello. Thanks for the invitation so much. I will try to come back as soon as possible. ;). Help me! Need information about: Most exspinsive breitling watches. I found only this - <a href="www.mydaughtersdna.com/.../used-breitling-watch">used breitling watch</a>. Breitling watches, gas no. may spot high tanks, - old-fashioned for following widely-available ideas fixed-tower world for minimum reports, - time and holder emitted can be compared approximately in the course. Division head department is killed before handling to board secretary for technology, breitling watches. With love :confused:, Meriel from Barbuda.

# re: IE 8: X-UA-Compatible doesn´t work?

Sunday, December 05, 2010 7:42 AM by birdhouse decks

I like to take a break during the my day and browse by means of some blogs to find out what other people are saying. This blog appeared in my search and i could not help but clicking on it. I am glad I did since it was a really fulfilling read.

--------------------------------------------

my website is <a href="zeroskateboards.org/">zero skate boards</a> .Also welcome you!

# re: IE 8: X-UA-Compatible doesn´t work?

Tuesday, December 07, 2010 11:04 AM by Harley Davidson Motorcycles

"Have you ever considered adding far more videos for your weblog posts to maintain the readers a lot more entertained? I indicate I just learn as a result of the whole article of yours and it was very excellent but since I am more of a visual learner,I discovered that to become extra helpful. Just my my notion, Beneficial luck   "

--------------------------------------------

my website is  

http://kidsshirt.net

Also welcome you!

# re: IE 8: X-UA-Compatible doesn´t work?

Wednesday, December 22, 2010 1:01 AM by ipad app demo

When all else is lost the future still remains.

-----------------------------------

# re: IE 8: X-UA-Compatible doesn´t work?

Tuesday, January 04, 2011 3:11 PM by ipad app reviews

-----------------------------------------------------------

"That’s Too awesome, when it comes in india wish it may make a Rocking area for youngster.! hope that can come accurate."

# re: IE 8: X-UA-Compatible doesn´t work?

Sunday, January 09, 2011 3:02 PM by ipad accessories

-----------------------------------------------------------

"Helo there, well I really see that your revealed content material is somewhat thoughtful as it highlights an assorted vary of fascinating data. Anyhow, was curious whether or not you would prepared to trade links with my web site, as I am wanting to construct world-wide-web links to more enlarge and acquire floor for my net area. I don't really thoughts you locating my contacts on the sitewide webpage, just accepting this hyperlinks on this distinct link is much more than sufficient. In addition, please reach me at my world-wide-web portal if you might be keen inside the hyperlink exchange, I'd genuinely like that. I would like to thanks and that i wish to acquire a reply from you as soon as possible! "

# re: IE 8: X-UA-Compatible doesn´t work?

Friday, February 11, 2011 7:00 PM by tv reviews

You created some beneficial factors there. I made a search on the subject and observed most men and women will agree withyour website.

# re: IE 8: X-UA-Compatible doesn´t work?

Tuesday, August 02, 2011 4:21 AM by ressunugs

Pienso que no sois derecho. Lo invito a discutir. Escriban en PM, se comunicaremos.

# re: IE 8: X-UA-Compatible doesn´t work?

Tuesday, November 29, 2011 9:56 AM by Rajesh

<!-below line mimics the IE6-->

<meta http-equiv="X-UA-Compatible" content="IE=7" >

</HEAD>

<BODY>

<H2 style="COLOR: purple" align=center>TOC Update Pages</H2>

<FORM id=input name=input>

<TABLE border=0>

is not working on win 7..howvver working fine on win XP..can some one pls help..

# re: IE 8: X-UA-Compatible doesn´t work?

Tuesday, April 10, 2012 1:49 AM by بچینگ

منم همین مشکلو دارم

Leave a Comment

(required) 
(required) 
(optional)
(required)