che_anj
12-01-2008, 12:06 PM
hi guys,
Im just wondering if its possible to put a text on the image, except using the image as background.
thanks for any help.
well if u used the Z-index style proopety and set the image's z index to a minus number it would appear behind the text.
Only way i can think of doing it
abduraooft
12-01-2008, 12:21 PM
.. and to apply a z-index value, the element should have a position value other than static in the CSS.
yes inded it shoould, but i thought it must have a position set as absolute or at least thats what it says on W3C schools
che_anj
12-01-2008, 12:45 PM
hi guys, thanks for the quick reply..
could u give me an example how to do it? thanksss
abduraooft
12-01-2008, 01:04 PM
http://www.w3schools.com/Css/pr_pos_z-index.asp
Major Payne
12-02-2008, 09:47 AM
Related topic here that might have some additional info: Create a graphical button with img and text? (http://www.codingforums.com/showthread.php?p=755405#post755405)
VIPStephan
12-02-2008, 11:41 AM
well if u used the Z-index style proopety and set the image's z index to a minus number it would appear behind the text.
Only way i can think of doing it
Negative z index isn’t supported in all browsers (and it’s not only IE that doesn’t support it). Rather, the text should be positioned absolutely over the image.
achris
12-02-2008, 12:40 PM
I was looking to do the same thing, thanks for the replys.
gmrtss
12-02-2008, 10:46 PM
Thanks for the pointers...I was always curious how to make this happen.