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

Posted on 2004-04-09
Last Modified: 2008-03-06
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.

Question by:orik7

Accepted Solution

ljfernandez earned 45 total points
ID: 10794848
I noticed that "relative" is spelled wrong. This could be breaking the z-index style.

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

LVL 12

Expert Comment

ID: 10794929
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.


Author Comment

ID: 10794935
Thank you so much Lisa :)
You were 100% right !

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This video teaches users how to migrate an existing Wordpress website to a new domain.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now