Page 1 of 1
Overlaying Images
Posted: Mon Mar 22, 2004 12:47 am
by Stryks
Not neccisarily a PHP issue, but I'm wondering if anyone knows of a method of overlaying transparent background images over one another in several layers in real time.
I'm not really keen on using flash or anything like that ... I'd just prefer a simple html or perhaps a javascript method.
Either way, the image names and locations would need to be inserted by PHP.
Any help would be great, thanks.
Posted: Mon Mar 22, 2004 11:33 am
by pickle
Check CSS and the z-index property. That property affects how elements are placed on the "z-axis". FYI: I've noticed you also need to set the position property in order to get the z-index property to work.
Posted: Mon Mar 22, 2004 1:59 pm
by AVATAr
im guessing here.. but... maybe you can create a png image.. with alfa channels and that stuff
Posted: Mon Mar 22, 2004 3:04 pm
by Draco_03
depending on what he wish to do..it s kind of obscure...
Posted: Mon Mar 22, 2004 3:19 pm
by m3mn0n
<div> + <marquee> will give a cool effect, with the right style settings of course.
http://www.w3schools.com
Posted: Tue Mar 23, 2004 8:11 am
by malcolmboston
marque is a deprecated tag
sorry sami, not having a go, just thought i would add that
Posted: Tue Mar 23, 2004 10:02 am
by m3mn0n
Indeed it is, but I saw an amazing combination of marquee and div the other day and it got me playing around with it again.

heh
But if you want to play by the new specification's rules, I'd avoid it.