I'm trying to make it so that when I hover over the parent (Li) tag with my mouse, the src attribute of the child img tag changes. This code works correctly in Chrome but not in Firefox and Internet Explorer.
<li class="player">
.
.
//some code.......
.
.
<table>
<tr class="tr-msg">
<td>
<a>
<img class="msg" src="../images/message-icon-h.png" />
</a>
</td>
</tr>
</table>
</li>
<style>
.player:hover .msg{
content:url("../images/message-icon.png");
}
</style>