• 0

Javascript and css


Question

I have made a Javascript to show and hide a div Layer by hovering over a link, the script works fine but when the div layer appears theres a dropdown box on a form behind and the div layer stays behind the dropdown box, I have set the css z index to 1000 but still no joy.

This only happens with dropdown boxes, the div layer covers buttons, etc fine.

Anyone have any idea's why this happens and how to correct it so that the div layer is on top of everything on the page ? :unsure:

Kind regards

Edited by Large
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

In IE drop down boxes are a special case, and if memory serves they are rendered by the OS, not the broswer - and therefore appears on top of everything else no matter what you do with z-indexes. The best way to avoid this is to either not use drop down boxes or hide them when needed.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.