Hi,
I've been toiling with this for a couple days now and can't seem to figure out why it doesn't work.
I attached the image I am using. I'm copying this affect from a tutorial on a site I found.
The effect makes it look as if the color of the image has changed color, but really, the image is just repositioned.
Thanks for any ideas.
This is the code:
<html>
<style type="text/css">
.myImage {
width: 100px;
height: 100px;
background: url('/path/to/myImage.png') no-repeat;
background-position: 0 -100px; }
.myImage:hover { background-position: 0 0; }
</style>
<body>
<div class="myImage"> </div>
</body>
</html>
Thanks.