Solved

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

Posted on 2004-04-09
3
281 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
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
replica website 2 51
Syntax for query to update table 2 42
Wordpress Security 29 76
Check ALL SP in database make sure there are no errors 17 62
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to dynamically set the form action using jQuery.

726 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