Tech Note: IE7 Bug Workaround

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

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 bottom

9 comments
1 Obdicut  Wed, May 4, 2011 10:30:54am

I’m so glad that I no longer have to follow my old company’s restrictive rules on what can and can’t be installed.

They were/are still on IE7.

2 blueraven  Wed, May 4, 2011 10:34:55am
While testing this fix, I discovered that I also had to revert back to jQuery 1.5.2 for IE7, because another bug is causing jQuery 1.6 to go into an infinite loop, and we all know how painful that can be.

LOL…I have no idea what a jQuery is, but glad it has been worked out!

Oh and BTW, the whitehouse says they will NOT release the bin laden photo.

3 Randy W. Weeks  Wed, May 4, 2011 10:37:00am

“beloved Explorer”

heh

4 kirkspencer  Wed, May 4, 2011 10:48:08am

Good, glad you found it.

5 Charles Johnson  Wed, May 4, 2011 10:54:31am

Every time something like this pops up, I’m amazed at the number of random-seeming bugs in Internet Explorer. If a browser doesn’t recognize a particular form of CSS syntax, it’s supposed to ignore it. Not crash.

Internet Explorer is one of the most popular buggy pieces of crap that ever existed.

6 CuriousLurker  Wed, May 4, 2011 11:02:38am

Thanks for sharing the solution, and kudos to samgak for pointing the way. This one is going in my notes.

7 William of Orange  Wed, May 4, 2011 1:14:28pm

It could also be worth while checking to see if the upgrade to IE9 will benefit the ease reading this forum compared to IE7 and IE8. As previously mentioned, I did the upgrade to IE9 and found that the pages loaded much faster, particularly when the replies on a topic go up in the 500’s and higher.

I’m not that techy but maybe you can find out yourself to see the difference and improvement in the LGF experience.

8 Bulworth  Wed, May 4, 2011 1:37:59pm

Good on the fix. LGF’s been crashing Explorer on me the past few weeks.

9 samgak  Thu, May 5, 2011 12:08:55am

Glad to be of some help!


This article has been archived.
Comments are closed.

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
The Good Liars at Miami Trump Rally [VIDEO] Jason and Davram talk with Trump supporters about art, Mike Lindell, who is really president and more! SUPPORT US: herohero.co SEE THE GOOD LIARS LIVE!LOS ANGELES, CA squadup.com SUBSCRIBE TO OUR AUDIO PODCAST:Apple Podcasts: podcasts.apple.comSpotify: open.spotify.comJoin this channel to ...
teleskiguy
4 weeks ago
Views: 939 • Comments: 0 • Rating: 0