Hi, i have problem with hover and active image.
I use this script, it's css base:
this is in htmlCode:.new { float:left; width: 161px; height: 168px; background: url(images/btn/new.jpg) bottom left; text-indent: -99999px; margin-left:1px; } .new:hover, .new:active { background-position: top left; }
but, it doesn't work.Code:<a href="#new" class="new"></a>
So i try another way, i try this one:
and this one doesn't work too.Code:<a href="latestHighlights.php" onmouseover="document.images['q1q'].src='img/font/news n gallery hover.jpg';" onmouseout="document.images['q1q'].src='img/font/news n gallery.jpg';" onmousedown="document.images['q1q'].src='img/font/news n gallery hover.jpg';"> <img src="img/font/news n gallery.jpg" name="q1q" id="q1q" border="0" title="News & Gallery"/></a>
So is there any solution?
Thanks in advanced.



Reply With Quote





Bookmarks