Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: not2easy
I've run into a bit of a problem... I'm trying to set up a drop down menu in my navigation bar.
it works except for the fact that it hides behind a relatively positioned element
can I use z-index to fix this?
I'd really appreciate some help on this!
[edited by: SuzyUK at 8:58 am (utc) on Feb. 8, 2005]
Simply by adding that last line to each element you want indexed. Remember that the element with the higher # is in the FRONT of stack.
And you said the menu is in back of something that is Relatively positioned, but I think it must be absolute for z-index to work. Like I said ... I THINK.. hehe Hope this helps.
That got it!
I had tried using Z-index and position: absolute; but clearly not in the right places - I tried again after reading your post and what did it was to position the element absolutely and add the z-index to all related CSS (probably all was not necessary but what the heck!)