I have wrapper div that has opacity set to 0.75. The problem is that when I place another div it also is transparent.
Here is HTML:
<div id="header_wrapper">
<div id="header">
<div class="logo"></div>
<ul class="hor_list" id="main_menu">
<li><a href="#">Home</a></li>
</ul>
</div>
</div>
CSS:
#header_wrapper {
background: black;
opacity:0.75;
filter:alpha(opacity=75); /* For IE8 and earlier */
height: 82px;
margin-bottom: 60px;
}
In this case div.logo
and ul#main_menu
are both transparent and this is a problem. How to stop this?