what am i still not getting? i've put both the z-index 1 and z-index 2 things in the same block -- if you were to draw a hiearchy the div#image block and other blocks (h3, ul etc) would have the same parent -- they all hang off the div#nav block. #image is z index 1 and the other things are z index 2 and the z index 2 things are still covered up by the z index 1 thing. any suggestions to what i'm doing wrong would be much appreciated
thanks.
on a page: http://www.hdbatik.co.uk/test/index2.html
Code:
<div id="nav"> // the block they're all in
<div id="image"> // z-index 1
<img src="image-for-imageblock.png" alt="the #imageblock background image" />
</div>
// multiple blocks beneath have zindex 2
<h3>Maps</h3>
<ul>
<li><a href="maps/walking/historictrail" title="A historical buildings trail">Walking Routes</a></li>
</ul>
...
...
Code:
#nav #image {
z-index: 1;
right:0;
top:131px;
position: absolute;
}
#nav ul, #nav li, #nav h3, #nav h4,
#nav ul li, #nav ul li a { z-index:2; }
Bookmarks