DIV and Dropdowns

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Crescionini Sascha

    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


  • David Dorward

    #2
    Re: DIV and Dropdowns

    Crescionini Sascha wrote:
    [color=blue]
    > 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.[/color]

    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/

    Comment

    • rf

      #3
      Re: DIV and Dropdowns


      "David Dorward" <dorward@yahoo. com> wrote in message
      news:bkefgr$nul $1$8302bc10@new s.demon.co.uk.. .
      [color=blue]
      > 3. Build your own select element out of divs and a heck of a lot of
      > JavaScript (which won't degrade cleanly).[/color]

      Ouch!

      Cheers
      Richard.


      Comment

      Working...