FairyBusiness
asked on
Why is my #content div not appearing on top of my img?
Hi, I gave my #content div a z-index of 500 and my image with the class of .wood an z-index of -1 so that the content would slide up and appear to overlap it. But its not working. . any suggestions?
http://gowiththemaster.com/tleithoff/index2.php
Also, the .wood img is appearing under my #nav div so I'm not sure why it won't appear under the #content div too. . .
http://gowiththemaster.com/tleithoff/index2.php
Also, the .wood img is appearing under my #nav div so I'm not sure why it won't appear under the #content div too. . .
I was looking at the wrong nav:
#navigation if floating over the main image because of float:right;
#nav is over .wood correctly because its using position:absolute;
sorry for the confusion
#navigation if floating over the main image because of float:right;
#nav is over .wood correctly because its using position:absolute;
sorry for the confusion
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!
Didn't even get an assist because I didn't get the PX right!! lol I was showing how to move it up, I'm sure you could have worked out 'how much by', by yourself...
content is using relative positioning so try adding:
top:-20px;
to your content class.
your nav is over already because your using float:right which takes it out of the flow of the rest of the page.
hope that helps