SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: Forms, select & z-index
-
Jan 15, 2003, 08:34 #1
- Join Date
- Sep 2002
- Location
- Bournemouth, South UK
- Posts
- 1,551
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Forms, select & z-index
I have been using dynamic divs with changing z-index's to show content on my screen.
Everything was working fine until I tried to hide a form underneath a picture using z-index. The hiding of the form worked well until I included a "select" option. This would always stay on top, even though the division it was included in had gone to z-index:-1. The picture is at z-index:0.
Any ideas on why this happens?
Is "visibility:hidden|visible" cross browser? The select option does go invisisble along with the rest of the div when I use this method.LiveScript: Putting the "Live" Back into JavaScript
if live output_as_javascript else output_as_html end if
-
Jan 15, 2003, 08:40 #2
- Join Date
- Aug 2002
- Location
- Wellington, New Zealand
- Posts
- 861
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I can't help you with the bug, but I can offer a possible solution :- have you considered using the "display:none" attribute? It totally hides whatever you give it and doesn't even take it into account for page flow.
If you aren't living life on the edge
- you're taking up too much space
Creative Dreaming Ltd / Ask The Local / Amanzi Travel
-
Jan 15, 2003, 08:44 #3
Bookmarks