About Me

microformats hcard approaching

is a Professional Geek for Microsoft Australia. More info lives underneath the About Box...

-33.831416, 151.222526
MrCell+61.417.212181
Work:
1 Epping Road
North Ryde, NSW 2113
Australia
photo of nick hodge

Stuff

View Nick Hodge's profile on LinkedIn

msdn channel 9

IE8">Fixing nickhodge.com (quickly) for IE8

By Nick Hodge | August 30, 2008

Inter­net Explorer 8 beta 2 has been released. The night before a big PR thing in Mel­bourne (Premier of Vic­toria, etc) and I decided to install it on my demo laptop. Brave, yet safe move.

What about this website?

Not so good. Some­thing is broken some­where. In the week before TechEd 2008 I don’t have time to com­pletely dia­gnose and fix the word­press tem­plate. So, sort of like weld­ing it together for a few weeks until things die down — it is time for a simple fix.

How can you tell? See the “broken doc­u­ment” icon on the right of the URL: this indic­ates that the site has been designed for older browsers.

IE8 Fix

 

There are two poten­tial fixes. One is to click on the broken icon, and Inter­net Explorer will revert to Inter­net Explorer 7 mode.

A smarter fix for this web site is a one-line change to my tem­plate (in my case, header.php for this template)

<meta http-equiv=“X-UA-Compatible” con­tent=IE=EmulateIE7” />

 

IE8 Fix

 

Refresh­ing the site, and magic­ally it renders cor­rectly, and there is no “broken” doc­u­ment icon.

IE8 Fix

Topics: ie7, ie8, microsoft, technology, wordpress | 4 Comments »

4 Responses to “Fixing nickhodge.com (quickly) for IE8

  1. Paul Says:
    August 31st, 2008 at 5:06 pm

    Without that meta­tag, it seems like if have an XHTML DTD set, IE8 will always give you that ‘broken icon’.

    If you set your DTD to HTML 4.01, the site may render really weirdly, but it’ll no longer present the broken icon.

    Le gah?

  2. Paul Says:
    August 31st, 2008 at 5:39 pm

    Err, scratch that. From the IE8 blog, it’ll dis­play that everytime it’s in stand­ards mode.

    In quirks mode or when view­ing locally/on an intranet, it AUTOMAGICALLY renders in IE7. Ouch.

  3. Ravneel Chand Says:
    September 1st, 2008 at 11:24 am

    If that is what it wants, it’s fairly use­less, and stu­pid. Older web­sites don’t have this tag; they’re old, from before when Inter­net Explorer 7 and Inter­net Explorer 8 were around.

  4. Bruce Stoner Says:
    December 7th, 2009 at 1:37 pm

    Inter­net Explorer 8 seems to be bet­ter than any pre­vi­ous ver­sion of IE. IE8 is very stable and rarely crashes or cause blue screens.
    ““

Comments