The <div>
rectangle has been asked to be opaque, but the logo inside that <div>
is meant to be the solid white, not transparent. I was wondering how I can fix that.
I've tried adjusting opaque levels on both the image and rectangle <div>
, but they both change together, not separately.
#palpa_white {
height: 550px;
width: 490px;
margin-left: 240px;
}
.center_container {
height: 580px;
width: 1000px;
background-color: black;
opacity: 0.7;
margin-left: 22%;
margin-top: 9%;
}
No error messages, I just can't get it to do what I want it to do.
<div class = "center_container">
<img src = "../img/palpa_white.png" id = "palpa_white" alt = "kael_logo">
</div>