How to make a layer on top od the others...

Posted on 2000-02-05
Medium Priority
Last Modified: 2010-04-09
I want to know if there is a way to make a layer appear in front of another?

In my case it's a floating layer that appears as a right-click menu anywhere the user right-clicks in the window
Question by:mannycalaveras

Accepted Solution

HolySpirit earned 800 total points
ID: 2493763
i think u can use z-index of inline style of the <layer> tag, but i don't know it was supported in Nutscape or not ...

The one z-index who have bigger z-index will be on top of the one who have smaller z-index
(negative value permitted in IE)

<layer style = "z-index : 3"...>layer 1</layer>
<layer style = "z-index : 1"...>layer 2</layer>
<layer style = "z-index : 2"...>layer 3</layer>

then, from top to bottom, the sequence is layer 1 -> layer 3 -> layer 2

Please reply me if this method works or not
-- Holy Spirit

Expert Comment

ID: 2499182
its better to use the di tag
with style sheeds


Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Suggested Courses

607 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