.msg-text span img { filter:alpha(opacity=40); opacity:0.6; } .msg-text span img:hover { filter:alpha(opacity=100); opacity:1; }