06 Mar 2012

Website Crashes Only in Internet Explorer 8

jQuery, Website 5 Comments

Internet Explorer continues to be the most frustrating browser to develop websites for. The most recent bug I encountered with IE8 took hours to track down.

While working on a website I noticed in IE8 the site would crash the entire browser before the site even had a chance to render any content. The website worked fine in IE6, 7, and 9. The error logs provided no valuable information, leaving me to a trial and error approach for debugging. I eventually found that when I disabled the stylesheet, the website would render.

The Problem

There is a known bug with jQuery 1.6.2 that causes Internet Explorer 8 to crash if there is a body background image defined in a CSS file loaded before jQuery in the header: http://bugs.jquery.com/ticket/9028

The Solution

Change your jQuery version, preferrably to 1.7.1. Check out the jQuery website for more information.

5 Responses to “Website Crashes Only in Internet Explorer 8”

  1. Yves Van Laer says:

    Had the same problem! Website only crashed on IE8.
    My problem was a compressed CSS file. IE8 seems to have problems with compressed CSS files…
    Solution: don’t compress…

  2. chad says:


    IE8 can able to handle compressed CSS files just fine, maybe there was a problem with the compressor you were using?

  3. Jason says:

    I’m having this same problem with the latest release of JQuery 1.8.3.

    Any advice?

  4. chad says:


    First thing I would do is update to jQuery 1.9.1

Leave a Reply