Jump to main navigation, main content

Archived entry | Matt Wilcox .net

Fixing the IE CSS flicker bug

The most maddening IE CSS bug is the IE Flicker Bug, where images applied to anchors via CSS can flicker or disappear when the mouse is hovered over them. The bug has always been a real pain to fix using CSS alone, and sometimes it’s impossible to fix without re-writing both the HTML and CSS.

Here’s a way to completely stop IE flickering on hover, via an IIS server setting, without needing to change any CSS or HTML. The same principal can be used for Apache.
I would like to shake the hand of the guy that did this. smiley icon: smile

Update: Applying this fix directly to the root of a website can cause problems if your website uses sessions. To get around this, apply the fix only onto the folder(s) containing your CSS and associated images (i.e., the images your CSS loads up).

From the archives

Other enteries filed under:

Of The Moment

Site information

Built with valid XHTML and CSS, designed with web standards and accessibility in mind. Best viewed in a modern browser [Firefox, Safari, Opera]

This domain and all content is a copy of my old website, for historical purposes only.