Forum Moderators: not2easy

Message Too Old, No Replies

(Background?) image *over* text

         

superflous

2:47 am on Aug 12, 2007 (gmt 0)

10+ Year Member



What I want to do, but have not been able to do not through lack of trying, is to anchor an image on the bottom of a page so it goes over the text.

What I mean is this: the image will be a simple vertical gradient from transparent to white. I want to anchor it to the bottom of the page so when I scroll the page the image remains in place at the bottom and the text appears to fade in from the bottom.

Does anyone know how to do this? I was playing around with z-index but I'm not quite sure where exactly to put anything in the CSS or HTML in regards to the background-image...

Help, please?

superflous

5:24 am on Aug 12, 2007 (gmt 0)

10+ Year Member



Nevermind, got it.

Xapti

6:37 am on Aug 14, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The answer to the question (for people who may come looking for an answer) would be to use the IMG element, and set it's style to position:fixed, and specify it's coorinates.