Freakish IE7
Home
Apr26
Pictures
Internet Explorer 7 is blocking all access to the homepage of this site, even though it validates and everything. Bah. Everyone, please, use Firefox instead.
2007 :: Comment / reply
Pictures
I am suffering from my site looking frubbish in IE7. Grrrr, etc.
Long time no chat, innit..
Bob :: 27 Apr :: 2007 :: Comment / reply
You working at the uni now? Very very long time no speak.
A couple of things I found that IE really doesn't like, it's stricter with javascript, you can't use a variable without declaring it with var first, ie
var i = 0;
and not just
i = 0;
Also I had some defer="defer" in my javascript, I think that's what was killing off entire pages. Oddly though it only affected www.clarkeology.com and not www.clarkeology.com/blog/ which had the same code. The homepage did have a tag that wasn't closed too, validate your page to sort those out.
Also, once I'd made changes, I found it hard to get IE to clear it's cache, the normal-shift-and refresh wasn't working, but shutting down the browser and restarting made it pick up the changes.