471,620 Members | 1,213 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,620 software developers and data experts.

DIV and Dropdowns

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
Jul 20 '05 #1
2 1849
Crescionini Sascha wrote:
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).

--
David Dorward http://dorward.me.uk/
Jul 20 '05 #2
rf

"David Dorward" <do*****@yahoo.com> wrote in message
news:bk*******************@news.demon.co.uk...
3. Build your own select element out of divs and a heck of a lot of
JavaScript (which won't degrade cleanly).


Ouch!

Cheers
Richard.
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Jeffrey | last post: by
3 posts views Thread by Damon | last post: by
1 post views Thread by Andy | last post: by
reply views Thread by nkparimi | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.