Iorhael wrote:
> Hi, I have a really strange thing going on when hovering over menu links in 
> IE in this web site. I just added a background image for the menu links on 
> hover...it works fine in Firefox and Opera, but in IE, hovering over and 
> clicking on the links causes really strange things to happen, including the 
> background turning black, and the type overlapping itself. Has anyone 
> encountered this before? I have the csshover2.htc file loaded and everything 
> validates.
> 
> www.drkdesign.com
> 
> http://www.drkdesign.com/drk_css/drk_menu.css
> 

It's the "stuck on hover" problem [1]


A fix is to add a positioning information

#menu a:hover {
        background-image: url(drk_hover.gif);
        
        background-position: 0 0; /* add this */
        ...
        }

shorthand:

#menu a:hover {
        background: url(drk_hover.gif);
        ...     
        }


Ingo

[1] http://www.satzansatz.de/cssd/pseudocss.html#hoverstuck

-- 
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to