Tech Note: IE7 Bug Workaround

This browser is ugly and it wants to die
LGF • Views: 20,651

I’m glad to announce that the Internet Explorer 7 bug I described yesterday has been worked around, and IE7 no longer crashes when loading LGF.

LGF reader “samgak” deserves the hat tip for finding the solution: IE7 has a serious bug in its CSS parser, that strikes when you use a CSS attribute selector with the “value” attribute, like this:

form#newssearchform button[value="pix"] {
  margin-right: 0;
}

So I just gave that element an ID and used that instead:

form#newssearchform button#srpix {
  margin-right: 0;
}

Less elegant, but it doesn’t cause IE7 to go into vapor lock.

While testing this fix, I discovered that I also had to revert back to jQuery 1.5.2 for IE7, because another IE7 bug is causing jQuery 1.6 to go into an infinite loop, and we all know how painful that can be.

I suggest that if you’re still using IE7 and you don’t want to switch away from your beloved Explorer, check out Internet Explorer 9. It’s a great improvement over previous versions — much faster and much more compatible.

Jump to top

Create a PageThis is the LGF Pages posting bookmarklet. To use it, drag this button to your browser's bookmark bar, and title it 'LGF Pages' (or whatever you like). Then browse to a site you want to post, select some text on the page to use for a quote, click the bookmarklet, and the Pages posting window will appear with the title, text, and any embedded video or audio files already filled in, ready to go.
Or... you can just click this button to open the Pages posting window right away.
Last updated: 2023-04-04 11:11 am PDT
LGF User's Guide RSS Feeds

Help support Little Green Footballs!

Subscribe now for ad-free access!Register and sign in to a free LGF account before subscribing, and your ad-free access will be automatically enabled.

Donate with
PayPal
Cash.app
Recent PagesClick to refresh
Texas County at Center of Border Fight Is Overwhelmed by Migrant Deaths EAGLE PASS, Tex. - The undertaker lighted a cigarette and held it between his latex-gloved fingers as he stood over the bloated body bag lying in the bed of his battered pickup truck. The woman had been fished out ...
Cheechako
3 days ago
Views: 154 • Comments: 0 • Rating: 1