3
I have a div
container
with height
and width
90%
, It’s the way I want it! Even if I zoom out, it stays fixed without zooming in or out.
What I’m trying to do is a div
superimpose that div
container
and really stay fixed.
Even increasing and decreasing the zoom a div
that has to override the container
stay fixed. I’ll give you an example.
Normal zoom size:
I’d like to leave the div
that superimposes the fixed image even reducing the zoom.
HTML
<div id="container">
<div class="corpo">
<img src="img/1inicio.jpg" style="height:100%;" />
<div class="painelvermelho"></div>
</div>
</div>
CSS
#container {
position:relative;
height:90%;
width:90%;
margin: 0 auto;
border: 1px red solid;
}
.corpo img {
position: absolute;
width:100%;
}
.corpo {
min-height: 500px;
height:100%;
}
.painelvermelho {
width: 130px;
height: 100px;
border: 5px solid #FF0000;
position: absolute;
cursor: pointer;
bottom:0;
}
Do I get it right? Do you want to make a Bait click by putting a pop up on the Windows start button? KKKKKKKKKK
– Augusto Vasques