Is it possible to overlay a repeating image over a entire web page? If so, How?
+3
A:
Something like this:
HTML
<div class="overlay"></div>
CSS
.overlay{
position:absolute;
top:0;left:0;
width:100%;height:100%;
background:url("image.png") repeat;
}
You probably want to put the div at the very end of the html to ensure it's above everything else on the page, alternatively you could use z-indexing.
graphicdivine
2010-02-06 14:21:50
That works except there is one problem it won't let me click anything behind the overlay.
Joshua
2010-02-06 15:02:16
@Joshua: I take it this is a partially transparent overlay? I don't think what you're trying to do is possible. Maybe if you explain a bit more about what you're trying to accomplish (visually and functionally) it will be easier to find a solution.
Steven Richards
2010-02-07 04:52:44
Basically I have a partially transparent image which I would like to overaly of the web page tog ive a kind of tint.
Joshua
2010-02-07 08:51:54