Suppose I have the following selector:
a { padding: 1em; }
a:hover { backgrond-color: #FF0000; }
And suppose I have the following HTML code:
<a href="http://stackoverflow.com"><img src="so.jpg"></a>
What happens is that <img>
gets red-background color on mouse hover.
Any ideas how to fix it?
Thanks, Boda Cydo!