After not finding any helpful answers on this topic, I've decided to ask for help again. My issue involves having an image inside a div.
<div id ="gratterlendis"> <a href ="?page_id=8"><img src="img/gratterlendis.png" align="right" width="200"> </a></div>
When I try the following CSS:
#gratterlendis img:hover {
background:url("images/svarterlendis.png)
}
Nothing happens, even though I can confirm that the picture has loaded. However, if I add something like margin-left:10px; in #gratterlendis img:hover, then the picture moves 10px to the left. Any suggestions?
I would appreciate any advice or solutions you may have.