Forum Moderators: not2easy
#background {
width: 100%;
height: 100%;
position: absolute;
left: 0px;
top: 0px;
The problem is that now when I put text over the image it moves based on the screen resolution, or the browser zoom.
I want to be able to put the text over a picture of a bubble on the image and have it stay in the bubble no matter what the resolution is. Any ideas?
z-index:0;
}
.stretch {
width:100%;
}
<div id="background">
<img src="images/about.png" class="stretch" alt="" />
</div>
The hardest part will be to scale those elements as well.
I'm afraid you'll be pushing the limits soon with this.
I'd rely more on the zooming of the browser instead of the scaling of images to be honest (esp. with the horrible scaling algorithm used in IE).