Hi, I have such code:
<div id="footer">
<a href="http:/tra-ta-ta.com">
<div id="logo"></div>
</a>
</div>
#logo
{
position: relative;
width: 100px;
height: 18px;
float: right;
background-image: url('../images/logo_def.png');
background-repeat: no-repeat;
background-position: 50% 50%;
}
#logo a:hover
{
background-image: url(../images/logo_h.png);
}
It works, but bg-image doesn't change when mouse is over it, why?