Solved

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

Posted on 2004-04-09
3
282 Views
Last Modified: 2008-03-06
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.
0
Comment
Question by:orik7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
ljfernandez earned 45 total points
ID: 10794848
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
 
LVL 12

Expert Comment

by:venkateshwarr
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.

0
 

Author Comment

by:orik7
ID: 10794935
Thank you so much Lisa :)
You were 100% right !
Ori.
0

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

695 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