I want to overlay a line image (no background, just the lines) on top of a solid image so that the lines are superimposed over the other, opaque image. I've tried it with the overlay as both a PNG and a GIF, but it keeps displaying as solid, completely covering up the second image. I've even tried playing with the z-index to no avail. Is this not possible? If it is, do you know what I'm doing wrong?
.Overlay {
position: relative;
display: block;
}
.Solid {
position: absolute;
top: 0;
left: 0;
}
<img src="overlay.png" width="640" height="480" class="Overlay"/>
<img src="solid.jpg" width="640" height="480" class="Solid"/>