I need to hide a background element in my css for IE.
This is the class in the css file
.navbar-header .nav #presentacion {
background:url("../img/horiz-line.png") no-repeat scroll 108px 20px transparent;
display: block;
height: 20px;
margin-top: 20px;
}
I want to use this method, inserting the CSS in the head section of the page hidding this part :
<!--[if IE]>
<style>
.navbar-header .nav #presentacion {
display: block;
height: 20px;
margin-top: 20px;
background: none;}
</style>
<![endif]-->
It's not working , the background is still displayed in IE, what i am doing wrong?