January 2009

IE6/7 a:hover bug

Submitted by Gold on Thu, 01/15/2009 - 15:27

I've just had an annoying couple of hours trying to fix a bug in IE 6/7. I had an interesting CSS error where the background of the parent element was disappearing when an anchor was moused over.

BWMsnow and SkateGear were having the same problem. Here, we have an image logo, wrapped in an anchor, wrapped in an <h1>, wrapped in a page-header div. It looks like this;