• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Using z-index To Place Page on Top

 
Ranch Hand
Posts: 2119
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using the following code but even if variable zp = 10000 it still places called div under the calling div

 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it a positioned element?

Eric
 
Steve Dyke
Ranch Hand
Posts: 2119
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Eric Pascarello wrote:Is it a positioned element?

Eric



Thanks for the quick reply.
#genericListDisplay is a div tag so I think the answer is yes.
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Steve Dyke wrote:

Eric Pascarello wrote:Is it a positioned element?

Eric



Thanks for the quick reply.
#genericListDisplay is a div tag so I think the answer is yes.



I think the answer is no.

Did you set position to one of the following: absolute, relative, or fixed?

Eric
 
Steve Dyke
Ranch Hand
Posts: 2119
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Eric Pascarello wrote:

Steve Dyke wrote:

Eric Pascarello wrote:Is it a positioned element?

Eric



Thanks for the quick reply.
#genericListDisplay is a div tag so I think the answer is yes.



I think the answer is no.

Did you set position to one of the following: absolute, relative, or fixed?

Eric



Here is my css code for the div

 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So you did set the position. I was wrong.

What browser is the problem happening in and what is in the div that is sitting on top of this one?

Eric
 
Steve Dyke
Ranch Hand
Posts: 2119
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Eric Pascarello wrote:So you did set the position. I was wrong.

What browser is the problem happening in and what is in the div that is sitting on top of this one?

Eric



Eric, I must apologize to you for taking time to help me and at the same time thank you for indirectly helping me figure this out. When I went to copy the css code that defines the div sitting on top of this one guess what I found? I found out that I had set the z-index of that div to 10000 but did not remember doing it. This app is huge relative to my thinking(1400 files) and I can't remember what I did six months ago.

I am glad that there is a place for me seek answers and learn little by little.

God bless.
 
Sheriff
Posts: 67590
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Firebug is a great tool for finding out what styles are being applied to an element. Probably would have made this quicker to find.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic