IE CSS bug with a:hover

Just so I know where to look up this rare problem. Because I know I will stumble over it again and search the web again though I had found the solution already once before, just don’t remember where :-)


     /* This is ONLY for IE, since the following rule wont work without this one here.
      The IE requires just something here in the "a:hover" before it works with a child selector behind it. */
    #regionContainer a:hover{
        text-indent:0;
    }
    #regionContainer a:hover span {
        display:inline;
    }

Thanks to this guy’s post.

2 Comments »

  1. Neil said,

    December 11, 2008 at 4:19 pm

    Thanks a lot for this, I\’ve been working all morning on getting an image to show in a link on hover (can\’t use css background image), and this worked a treat!

  2. Greg Harris said,

    May 21, 2010 at 9:50 pm

    Awesome, blog post!! I just had to comment.

RSS feed for comments on this post · TrackBack URL

Leave a Comment