PDA

View Full Version : content above relative div's?



Crazydog
Aug 16th, 2007, 01:22 AM
QUESTION: How do I bring content on top of relative div's w/ background images?

Details:

My page has has:
header image (with dynamic image placed on top of it)
tiled image (header covers top of this image, then image is y-tiled..has content on it)
right image (starts under header, goes down ~800px on top of tiled image. has dynamic image on it)


ALSO: I want it to be centered.

Right now, I have all the divs I mentioned above position absolutely + with z-indexes so that the content goes on top of them.

Page is set up like this:
<wrapper>
<header>
</header>
<right>
</right>
<tile>
</tile>
<content>
</content>
</wrapper>


I'm pretty sure to use margin: 0 auto; to center the page, the divs have to be absolutely positioned, but when I do that, I don't know how to get the content on top of the div's.

harbingerOTV
Aug 16th, 2007, 02:32 AM
Thats a lot to wrap my head around. You happen to be able to show your code so far? Would make it a lot easier.