DIV and Dropdowns

C

Crescionini Sascha

Hello NG

If I let appear a DIV over a HTML site with dropdowns, this dropdowns are
still visible.
Is there a way to push them to the back? All other form elements arent
visible.

greets
sascha
 
D

David Dorward

Crescionini said:
Hello NG

If I let appear a DIV over a HTML site with dropdowns, this dropdowns are
still visible.
Is there a way to push them to the back? All other form elements arent
visible.

No. Some form controls are implmented as OS level controls, not browser
level controls. Thus they are rendered after any other HTML.

Alternatives include (in order of preference):

1. Don't make divs appear on top of other things (assuming you are using
them for a menu - such menus don't rate too highly on the usability front)

2. Make the form control visibility: hidden when the div is displayed

3. Build your own select element out of divs and a heck of a lot of
JavaScript (which won't degrade cleanly).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,093
Messages
2,570,607
Members
47,227
Latest member
bluerose1

Latest Threads

Top