Avoid flickering on mouse over
- by GigaPr
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