IE8’s Compatibility View… Why oh why?

February 5, 2010

Filed under: Technical — naldope @ 6:41 pm

After spending much time hacking my webpage’s CSS to render well in IE6, there were decisions made that we would drop IE6 support and focus on the new IE8. I thought this was wonderful news since the page tested wonderfully in IE8.

Anyone who knows IE, knows that wasn’t the end of the story. As I relayed the test URL to my peers, who also had IE8, they were pinging me to let me know that it looks terrible in their browsers. I thought they were kidding until receiving screenshots.

After much research, it seemed liked IE8 was making the page appear in Compatibility View for my co-workers — which makes the page render like it was being viewed in an older version, ie. IE7. I clicked on the “Compatibility View” button on the browser toolbar and lo and behold, I saw what they were seeing. Ugh!

After spending countless hours trying to modify my css, I wondered if I could force IE8 to make users view the page according to IE8 standards only. I googled a bit and located a forums thread on the MSDN site.

Within this thread, it linked my to an article that allows developers to specify compatibility modes on a per-page basis by using a simple META tag, which looks like:

<meta http-equiv="X-UA-Compatible" content="IE=8" />
You can specify other browser versions from IE5 on up.

Now, it forces users to view the page in IE8 based only on IE8 standards. Whew!

What I Do

Website Creation

The graphic design and implementation of websites using XHTML, CSS, and other web technologies

Application Development

Static websites become web applications, once more functionality is added allowing users to perform various tasks

Print & Graphics

Custom graphics and print collateral can be created to match your company's branding or marketing strategy

Search Engine Optimization (SEO)

To improve a website's search rankings on various search providers, SEO techniques involve a sites' coding and structure

Content Management Systems

These custom or pre-built web applications allow owners/authors of a site to add and edit their own website content

PSD to XHTML Implementation

Transforming the graphic layout of a graphic artist to a actual working prototype of a website.
To Top

Powered by WordPress

Copyright © 2005-2009 ODLAN. Powered by Naldo. All rights reserved