I have an image that is a link. I want to show a different image when the user hovers over the link.
Currently I\'m using this code:
If you give generally give a span the property display:block, it'll then behave like a div, i.e you can set width and height.
span
display:block
div
You can also skip the div or span and just set the a the to display: block and apply the backgound style to it.
a
display: block