This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes javascript overlap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript overlap" Watch "javascript overlap" New topic

javascript overlap

Chi Zhou

Joined: May 16, 2003
Posts: 1
I created a page containing a menu and a drop-down
list below the menu. When I move the mouse to the
menu, it displays the selection list, but it's
overlapped by the drop-down list, in another word,
it's behind the drop-down list, part of the menu
selection can't be seen. I have tried to use
style="position:relative;", and
<LAYER visibility=hide id=menu1>,
they didn't work.
Any ideas?
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
layer tag is only supported by Netscape 4.x browsers
use div tag...
selected(dropdowns in Netscape 4.x) are always on top
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
look at this, I wrote this for someone else on this board
It is sorta covered in the JavaRanch Style Guide.
subject: javascript overlap
Similar Threads
ajax dynamic combo
Remote Scripting
Submit button
How To Make an Array from Multiple Selection of a Drop-Down Menu (or Scrollable List)
JS Displaying content?