I'm adding class through script to <strong></strong>
background-color:transparent;
is OK in chrome and firefox
but in IE adds black color around image menu_bg.png
How to remove black background of image?
script
$("#navlist li a").hover(function() {
$(this).parent().find('strong').addClass("hover");
});
CSS
.hover{
display: inline-block;
position:absolute;
background: url(images/menu_bg.png) center no-repeat;
background-color:transparent;
}
HTML
<ul id="navlist">
<li><a href="about.php">About Us</a><strong></strong></li>
</ul>