Preventing IE from using Compatibility View


In the past few months, I completed four web sites, three for my full time job and one for a freelance client. The first one I completed actually launched last, and this week, our IT department pointed out that the site doesn’t work on several computers within the network because those computers had IE set to compatibility view so they could use other apps.

WHA??

I had built in backward capability but hadn’t planned for this wrinkle. I tried adding this META tag, but IE still ignored it:

<meta http-equiv="X-UA-Compatible" IE=EDGE" />

Luckily, I found Dale Lane’s blog, and he gave me the answer. You have to put this META tag right under the head tag or IE will ignore it. Why? Who knows.

If you’re using WordPress, open header.php and paste this under the opening <head>tag.

<meta http-equiv="X-UA-Compatible" IE=EDGE" />

Refresh, and you’re done.

Thanks to Dale Lane. I was unable to find contact information for him, or I would have thanked him myself.