Avoid flickering on mouse over
Posted
by GigaPr
on Stack Overflow
See other posts from Stack Overflow
or by GigaPr
Published on 2010-03-24T22:17:44Z
Indexed on
2010/03/24
22:23 UTC
Read the original article
Hit count: 328
css
Hi
I have a simple link in a menu
<a id="Home" href="Amico-Bio-Home-Page"></a>
to which i apply the following style
#Home{
background-image:url(../Images/Menu/home.png);
background-repeat:no-repeat; border:none; display:block; height:70px; text-decoration:none; width:78px; float:left; padding:0 7px; }
#Home:hover {
background-image: url(../Images/Menu/homeOn.png);
}
when i go over the link the images are swapped.
while swapping the images the link disappear for an instant.
Do you know any way to avoid it?
thanks
© Stack Overflow or respective owner