Click to See Complete Forum and Search --> : Layers relative to centered image


OuterBox
03-22-2005, 10:49 AM
I am wondering how I can make a layer stick to an image that in centered to the page.

I appreciate any help!

Thanks

The Little Guy
03-22-2005, 12:16 PM
What? That didn't make much sense.

PeOfEo
03-22-2005, 12:20 PM
There is no such thing as a 'layer'... ilayer and layer or not actually html http://www.w3.org/TR/html401/index/elements.html . You can put an image within a block level element or position block level elements next to a page yes.

What exactly do you want to do? Like put a caption next to this image which will be centered?

OuterBox
03-22-2005, 02:47 PM
Sorry, a layer appear relative to an image. I am trying to make layers with text appear on a mouseover of an image. The main site is centered.

PeOfEo
03-22-2005, 03:04 PM
Layer is not an element. There was a tag that netscape supported and ie somewhat supports called layer, but it is not valid html at all. I just want to make that clear like nixon.

Just have a div and within it put the image and another div. The use the onmouseover event handler to change the visibility of the other div within the containing div. I could furnish some code for this later on.