Archive for the 'IE bugs' Category

Prototype 1.6.1 on IE8 on Windows XP..

Friday, February 26th, 2010

Discovered a weird problem today.

Seems like in a particular configuration, the currently latest version of Prototype library gives problems to users who are using Internet Explorer 8 on Windows XP.

Error message states that Web page has a problem and Internet Explorer had to close its tab.

When running the same page under IE8 on Windows 7, the page loads fine, but with error message which states:

windows-7-x641

Switching IE8 to IE7 compatibility mode fixes the problem on Windows XP and Windows 7 platforms.

In order to do that, just add the following code right under the <head> tag:

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

This will automatically switch IE8 to IE7 rendering mode, and unless your site breaks under IE7, you should be fine with this solution.

Rails session cookies not saved in IE 6/7 ?

Thursday, January 15th, 2009

I spent half an hour surfing the net for an answer and luckily found this page: Problems with IE7 Sessions Not Saved in Rails or PHP

So basically if session cookies (or any cookies for that matter) work just fine on Safari/Firefox, but just get silently ignored on Internet Explorer - please check if there are any underscores in sub-domain you are accessing.

For example, I was using domain called 'amtes_shop.local' for my Rails application, and I could never "shop" for anything because cart was using sessions, and sessions were silently ignored by IE 6/7 (so I was in the latest stage of development when one tests everything on broken browsers ;) Renamed amtes_shop.local to amtesshop.local - and everything magically fixed itself! Bingo!

IE8 beta1

Thursday, March 6th, 2008

Internet Explorer 8 beta 1 is out. You can get it here.

It doesn't pass Acid 2 test (even though Microsoft kept telling us it does), and scores the lowest among any modern browsers score at Acid 3 (17/100)

Not that everything is sad here. IE8 finally got itself a Firebug-like DOM debugging tool, which is actually pretty nice (doesn't come close to Firebug in usability, but at least one can actually debug layout problems with it)

IE Developer toolbar is f***ing annoying

Wednesday, December 12th, 2007

Just as if I am not stressed enough to fight with IE for the correct layout, the IE Developer Toolbar just keeps bombing me with annoying and useless popups. Every time I place mouse over its panel

Well after thousand times I've been shown the popup I believe I already understand the idea of that particular panel, BUT NO. It keeps popping every time I put my cursor over the panel.

Every. Fucking. Time.

IE crash on just plain HTML

Tuesday, July 25th, 2006

I've experienced a very weird crash on Windows Internet Explorer (XP SP2, English) just yesterday. So here's the problem and the solution and may be, just may be it will help somebody.. someday.

The problem is that IE was crashing on me completely. And according to reports I was getting, mshtml.dll was the problem - so it is definitely IE's HTML renderer  (thanks Remedee for pointing this out as I suck as Windows debugging - 100% Mac user).

 And the code I was having on the page was just an ordinary blocked output (photo + description, in a SPAN tag), just as follows:

<span class="item">
<a xhref="girls.html?id=<?=$stuff[id]?>" onclick="girlinfo(<?=$stuff[id]?>); return false">
<?php article_printImageTag($stuff[id], 120, 120, "top_1", 1) ?>
</a>
<?php echo $stuff[title] ?>
</span>

The result was a grid of pictures with descriptions under them.

The problem was that if I had over 23 such blocks on a page, IE was just crashing on me!! With some weird "illegal access" 0xC0000005 in mshtml.dll (or something) error. And of course ALL OTHER browsers (Firefox, Safari, Opera) were processing the page without any noticable problems at all.

Well I dunno.. was thinking about inline javascript was causing the problems. And inline javascript is NOT a good thing, but of course it depends.. for example if you have LOADs of images and want to create something like lightbox gallery that would work without needing to wait for the whole page to load (and it WILL take time for lots of images). Anyways.. I was using inline Javascript and though it was causing the problem, so got rid of it, but it didn't help at all. Then.. I just started to remove blocks of code and the problem seem to disappear, but I was left with a non-functional page (I need it to look exactly the way I want, and anyway, that's not a huge amount of markup to be able to play with many combinations).

In the end, the solution for the problem was to add the <span> tag  around the text below the picture. JUST TWO TAGS solved the problem.

The resulting code was just like the one below:

<span class="item">
<a xhref="girls.html?id=<?=$stuff[id]?>" onclick="girlinfo(<?=$stuff[id]?>); return false">
<?php article_printImageTag($stuff[id], 120, 120, "top_1", 1) ?>
</a>
<span>
<?php echo $stuff[title] ?>
</span>
</span>
 

Now.. I don't know what was the source of the problem for IE. It could be that I just suck at coding and and don't know the basics. And I definitely will remember about the problem and solution in the future.. But can anyone explain my.. WHY?.. Well it was rhethoric question I guess :)

 PS: Oh and yes, the page actually validates..