Hi I have a CSS like this:
body {
background-image: url(‘images/bkg.jpg’);
}
#wrapper {
background-color: #2222ff;
overflow: hidden;
width: 800px;
margin: 10px auto;
padding: 0px;
text-align: center;
border: 0px solid green;
filter:alpha(opacity=80); /* for IE 6 or > */
opacity: 0.8; /* for Safari */
-moz-opacity: 0.8; /* for NS */
-khtml-opacity: 0.8;
}
#pics {
width: 320px;
height: 240px;
border: 0px;
}
</style>
</head>
<body>
<!– wrapper –>
<div id=”wrapper”>
<!– image should not be transparent –>
<img src=”images/pic2.jpg” id=”pics”>
</div>
</body>
</html>
This works great as the wrapper is transparent as I wanted, but how do make the images/pic2.jpg not transparent? I’ve tried to use z-index and also tried to reset the opacity in the img to 1.0, none of them works.
Thanks in advance.