Acorn Arcade forums: Programming: X-UA-Compatible
|
X-UA-Compatible |
|
monkeyson2 (16:35 3/7/2009) tribbles (17:49 3/7/2009) Jacko (18:01 3/7/2009) monkeyson2 (18:39 3/7/2009)
|
|
Phil Mellor |
Message #110463, posted by monkeyson2 at 16:35, 3/7/2009 |
Please don't let them make me be a monkey butler
Posts: 12380
|
I've got a CMS web site which has a few edit mode bugs in IE8, but is perfectly happy in IE7, Chrome, etc.
Now, I know the correct solution would be to make it work properly in IE8 but I don't have the time to do this - and I have no control over the majority of the HTML, CSS and javascript.
I do, however have the option of adding the X-UA-Compatible meta tag to the edit pages to tell IE to work in IE7 standards mode.
But it doesn't do anything! The developer toolbar indicate that it's still in IE8 Standards mode - if I switch to IE7 Standards using the dev toolbar or backwards compatibility it all starts working.
I've tried both
{meta http-equiv="X-UA-Compatible" content="IE=IE7" /}
and
{meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /}
The DOCTYPE is
{!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"}
and I've changed the pointy tag brackets to curly braces to make sure I can post them safely here. I'm not that nuts!
Any ideas why it doesn't work? |
|
[ Log in to reply ] |
|
Jason Tribbeck |
Message #110464, posted by tribbles at 17:49, 3/7/2009, in reply to message #110463 |
Captain Helix
Posts: 929
|
I had to do it on one of our software products - I did it by changing the web server configuration to automatically put it in as a header, rather than as a meta-tag.
I also found that IE8 in compatibility mode wasn't as compatible as IE7 native, but you've already found it's okay for you. |
|
[ Log in to reply ] |
|
David Jackson |
Message #110465, posted by Jacko at 18:01, 3/7/2009, in reply to message #110463 |
Member
Posts: 84
|
found this on the web http://www.alistapart.com/articles/beyonddoctype appears you just need ......"IE=7" |
|
[ Log in to reply ] |
|
Phil Mellor |
Message #110466, posted by monkeyson2 at 18:39, 3/7/2009, in reply to message #110465 |
Please don't let them make me be a monkey butler
Posts: 12380
|
found this on the web http://www.alistapart.com/articles/beyonddoctype appears you just need ......"IE=7" Marvellous! That works perfectly |
|
[ Log in to reply ] |
|
|
Acorn Arcade forums: Programming: X-UA-Compatible |