468,765 Members | 1,004 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,765 developers. It's quick & easy.

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 1800
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
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.