Click to See Complete Forum and Search --> : Floating text over an image


cutie
06-29-2004, 01:35 PM
Hi,

I want to have text floating over an image in my page. Can anyone help me with this. Thanks a lot.

Han,

JPnyc
06-29-2004, 01:57 PM
Post the code for the page, or just the image and it's parent elements, if any, and the CSS rules for it. Basically, the z-index of the image should be set to -1, or, make the image the background of it's parent element.

David Harrison
06-29-2004, 08:22 PM
If the image is not content, set it as a background image to a container element for the text, then set appropriate padding on it so that the text doesn't cover all of the image.