Hi all, first sorry if this is not a right thread.
I had a trouble to make the inside element of #transparent div to be not transparent. Dont know what Ive done wrong after so many hours try and didnt find a solution, so I decided to ask here.
This is my html:
And this is my css:<div id="transparent">
<div id="preview">
<p><a href="javascript:close_preview();">Close</a></p>
<p><a href="#"><img id="preview_pic" src="" onclick="javascript:close_preview();" alt="click to close this preview"></a></p>
<p>Avatar0001</p>
</div>
</div>
i try to put this:div#transparent {
display: none;
position: absolute;
background: #000;
width: 100%;
height: 150%;
top: -200px;
left: 0;
z-index: 1000;
filter:alpha(opacity=50);
opacity:0.5;
}
div#preview {
display: block;
background: grey;
margin: 15% 30%;
text-align: center;
border: 5px solid #c1c1c1;
}
#preview p {
display: block;
padding: 5px;
color: #fff;
}
#preview img1 {
display: block;
padding: 5px;
background: #fff;
}
into each of div#preview, #preview p and #preview img but it didnt work out.filter:alpha(opacity=100);
opacity:1;
Thank in advance guys


LinkBack URL
About LinkBacks




Reply With Quote