tags:

views:

57

answers:

1

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
That works except there is one problem it won't let me click anything behind the overlay.
Joshua
@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
Basically I have a partially transparent image which I would like to overaly of the web page tog ive a kind of tint.
Joshua