Place Overlapping Division on Top

  • Thread starter Dennis M. Marks
  • Start date
D

Dennis M. Marks

I have created a menu within a division that is initially invisible.
When I click a spot on the screen it toggles between visible and
invisible. That part works fine. My problem is that in Netscape parts
of it appear under other divisions. In IE it works fine. How can I
force it to the top. Due to the way my page is constructed it must be
the first division created. I know that if it was last it would
probably work.
 
D

Dennis M. Marks

I have read the following message from "Dennis M. Marks"
<[email protected]>
and have decided to lend my vast knowledge.

The writer said:
I have created a menu within a division that is initially invisible.
When I click a spot on the screen it toggles between visible and
invisible. That part works fine. My problem is that in Netscape parts
of it appear under other divisions. In IE it works fine. How can I
force it to the top. Due to the way my page is constructed it must be
the first division created. I know that if it was last it would
probably work.

and my reply is:
After further investigation I noticed that the division is opening
under a form select menu not another division. I still need a way to
force it to the top.
 
E

Eric Bohlman

After further investigation I noticed that the division is opening
under a form select menu not another division. I still need a way to
force it to the top.

Somebody (I forget whom) posted something very much like this to another
group in the last few days (if it was in fact you, then shame on you for
multiposting). The answer was that many browsers draw form elements using
standard controls from the OS's windowing system, and those controls have a
higher precedence in the windowing system's z-order (as opposed to the
browser canvas' z-order) than anything the browser draws, so they always
come out on top of anything the browser can draw.
 
D

Dennis M. Marks

I have created a menu within a division that is initially invisible.
After further investigation I noticed that the division is opening
under a form select menu not another division. I still need a way to
force it to the top.
Well I partially solved the problem. Using z-index:10 in css forces the
division to the top. Now my only problem is that a single horizontal
scrool bar on a form select box appears on top. Just the slider,
nothing else. How can I turn the horizontal scroll off but leave the
vertical scroll on?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top