No effect for 'z-index' when using 'position:reletive' ?

Hello.
As part of my page design I have to use 'position: reletive' and give it a high 'z-index' but it does not seems to work - the z-index has no effect althou it does with 'position: absolute' but then it won't look as I like it to be designed.
Here is how I'm trying to use it : <div style="position:reletive; z-index: 20;">    is there something wronge with it?  Is there any way to make it work?
thanx in advance.

    Ori.
orik7Asked:
Who is Participating?
 
ljfernandezCommented:
I noticed that "relative" is spelled wrong. This could be breaking the z-index style.

Try:
<div style="position:relative; z-index: 20;">    

-Lisa
0
 
venkateshwarrCommented:
If you are trying to bring a div over a drop down menu... then you are going to get the desired effect,
because of a bug in IE.

0
 
orik7Author Commented:
Thank you so much Lisa :)
You were 100% right !
Ori.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.