Link to home
Create AccountLog in
Web Development

Web Development

--

Questions

--

Followers

Top Experts

Avatar of Goa_Koala
Goa_Koala

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...

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of jakecolejakecole

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'.

Avatar of lexxwernlexxwern🇳🇱

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!

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


ASKER CERTIFIED SOLUTION
Avatar of TallerMikeTallerMike

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of lexxwernlexxwern🇳🇱

*cool
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.

Avatar of Goa_KoalaGoa_Koala

ASKER

Hey thanx for the answer. I think that shuld do the trick :)))

Free T-shirt

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.


Avatar of lexxwernlexxwern🇳🇱

* you forgot to accept his comment as the answer!
Web Development

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.