Click to See Complete Forum and Search --> : z:index


GLP23
04-27-2006, 08:56 AM
i have a website with 2 title bars, they both have separate menus, the bars have been constructed in photoshop and therefore i am trying to place the hyperlinks over the top of the images using a z:index, i have positioned with pixels, i am able to complete with the top menu bar, but the bottom bar doesn work, if you go to http://www.sydneydancecafe.com.au/breakfast.htm

i have put the bottom menu to the side so that you can see how it is hidden to the left of it, how do i get it to the top of the bottom image, the image already has a z:index:1

thanks

WebJoel
04-27-2006, 08:22 PM
i have a website with 2 title bars, they both have separate menus, the bars have been constructed in photoshop and therefore i am trying to place the hyperlinks over the top of the images using a z:index, i have positioned with pixels, i am able to complete with the top menu bar, but the bottom bar doesn work, if you go to http://www.sydneydancecafe.com.au/breakfast.htm

i have put the bottom menu to the side so that you can see how it is hidden to the left of it, how do i get it to the top of the bottom image, the image already has a z:index:1

thanks

That is spelled "z-index:1", not "z:index:1", which probably won't/isn't working.

NogDog
04-27-2006, 08:44 PM
z-index only applies to positioned elements. Try adding position: relative; to that element to make the z-index take effect.

GLP23
04-27-2006, 09:59 PM
where do i include the "position:relative" bit

felgall
04-28-2006, 01:17 AM
next to the z-index:1 bit whereever it occurs.