Log in

View Full Version : Image (gif) OVER text



thepazza
09-10-2007, 10:54 AM
AAAAAAaaaaaargh

I'm sure there's an easy way to do this, but i cant see it.

How do i place a gif image ON TOP of text.
Basically i'm trying to give the text a worn stamp effect.

i thought this would do it;
background-image: url("textbg2.gif"); z-index: 1000;}

but i'm a bit of an amateur and can't seem to make the background image come to the foreground.

Any ideas?

djr33
09-10-2007, 02:13 PM
background images are just that... backgrounds. z-index will have no effect.

Using z-index is correct, though. You will need to place the higher one in a div.

You could also try to just use an image of the text as the background, then the 'real' image in that layout element.