Web Development
--
Questions
--
Followers
Top Experts
about div select boxes?
When a div and a select box collides, even though the div is on top, i see the select box but not the div. Does anybody have a soltion for this???
Thanx...
Thanx...
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
How do you mean .. collides? Can you provide some code to show what you are doing?
HTML elements are set BY THE BROWSER to show up over things like DIV elements. You will often see this on the DHTML menus where the select box will show through the menu.
The workaround I see most is to hide the elements under the DIV.
Again, this is not neccesarily a problem with your code, but a browser 'feature'.
The workaround I see most is to hide the elements under the DIV.
Again, this is not neccesarily a problem with your code, but a browser 'feature'.
a select box has got z-infinity of infinity, (ie. they are not controled by the browser but the OS), therefore no HTML element can overlap a select box.
the only viable solution is redesigning that part of the page.
tough luck!
the only viable solution is redesigning that part of the page.
tough luck!






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
ASKER CERTIFIED SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
*cool
But still, I'ld rather have a redesign than see layers suddenly overlap form items.
But still, I'ld rather have a redesign than see layers suddenly overlap form items.
This is true. There's not much you can do if the user is using Netscape 4.7 But newer browsers such as Netscape 7.0 and even as early as IE 5.5 (I didn't have Netscape 6 to test, but it might work for that too).
You are correct though, in older browsers, the only way the handle this is to hide the elements that are going to be covered.
You are correct though, in older browsers, the only way the handle this is to hide the elements that are going to be covered.
Hey thanx for the answer. I think that shuld do the trick :)))

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
* you forgot to accept his comment as the answer!
Web Development
--
Questions
--
Followers
Top Experts
Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.