Eddie Welker.com

Advanced web development, with a little bit about me thrown in too.

  • Blog The blog
  • About About me

August 21, 2007
Posted by admin

IE 6 background flicker problem revisited

So I fell into the (now famous to me) Internet Explorer 6 background-image flicker problem. Oh, fun times. There have been a few different solutions presented, ranging from javascript to server settings (or my favorite [sarcasm], to put the background-image on a copy of itself so you don’t see the flicker). The problem is that I was using a pre-SP1 IE, so the javascript solution wouldn’t work, and I did not have access to the server.

After my testing, I’ve found that the statement of the problem isn’t quite correct. Most say that is whenever you put a background-image style on a link. This isn’t quite accurate. The problem I have observed is:

When a background-image style is applied to either a DOM element with an event attached to it, or to any of its children.

This makes it a wider problem than I had originally thought. The one caveat I have found is that an inline event (for example, an ‘onclick’ attribute written in the <element>) will not trigger this effect.

The thing that amazes me about this, and worries me about those trying to apply a duplicate background-image to hide the flicker, is that every mouseover is causing another server hit for that image. It seems incredible that individuals and companies can just turn a blind eye to this. I would be inclined to send Microsoft an invoice…

Postscript: I used Fiddler which was a really big help testing for this. Turns out it is owned by Microsoft. Anyone sensing any guilt there???

No Comments

Posted Under ie microsoft

No Comments Yet

You can be the first to comment!

Leave a comment

You must be logged in to post a comment.

  • Me, elsewhere
    • tweets @ twitter
    • photos @ flickr
    • music @ last.fm
    • bookmarks @ delicious
    • articles @ google reader
    • events @ upcoming
    • location @ brightkite
    • updates @ friendfeed
    • books @ goodreads
    • me @ djangopeople
    • me @ facebook
  • My photos

    Leavesiphone antennaLooking upGreen and tanPermit only to the leftDumpster Colors
  • What I'm listening to
    • Rudolf Firkusny – Piano Concerto in G minor, op 33, i
    • Rafael Kubelik: Berlin Philharmonic Orchestra – Symphonie N°9 Op.95 'Du Nouveau Monde' - 4. Allegro Con Fuoco
    • Rafael Kubelik: Berlin Philharmonic Orchestra – Symphonie N°9 Op.95 'Du Nouveau Monde' - 4. Allegro Con Fuoco
    • Rafael Kubelik: Berlin Philharmonic Orchestra – Symphonie N°9 Op.95 'Du Nouveau Monde' - 3. Scherzo - Molto Vivace
    • Rafael Kubelik: Berlin Philharmonic Orchestra – Symphonie N°9 Op.95 'Du Nouveau Monde' - 2. Largo
    • Rafael Kubelik: Berlin Philharmonic Orchestra – Symphonie N°9 Op.95 'Du Nouveau Monde' - 1. Adagio - Allegro Molto
    • Rafael Kubelik: Berlin Philharmonic Orchestra – Symphonie N°9 Op.95 'Du Nouveau Monde' - 1. Adagio - Allegro Molto
    • Rafael Kubelik: Berlin Philharmonic Orchestra – Dvořák: Symphony #7 In D Minor, Op. 70 - 1. Allegro Maestroso
    • Martha Argerich – RavelGaspardDeLaNuit:2 Le gibet
    • Martha Argerich – RavelGaspardDeLaNuit:1 Ondine

This site is using the Handgloves WordPress Theme
Designed & Developed by George Wiscombe

Subscribe via RSS