How to set the div under a text box?

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

    How to set the div under a text box?

    As the title,
    anyone know how to set the div just under a control or another div?
    Just like the google live search effect.

    Thanks a lot.
  • Tom de Neef

    #2
    Re: How to set the div under a text box?

    "Cylix" <cylix2000@gmai l.comschreef in bericht
    news:7d6d1e09-e412-47c1-89b6-19e0ffdc406f@s5 0g2000hsb.googl egroups.com...
    As the title,
    anyone know how to set the div just under a control or another div?
    Just like the google live search effect.
    >
    Thanks a lot.
    Bind them in a table?
    Tom


    Comment

    • Thomas 'PointedEars' Lahn

      #3
      Re: How to set the div under a text box?

      Cylix wrote:
      anyone know how to set the div just under a control or another div?
      Just like the google live search effect.
      There are two possible correct answers, depending on what "under" is
      supposed to be:

      A) "under" = beneath the named element on the y-axis:

      With static or relative positioning.

      B) "under" = beneath the named element on the z-axis:

      With relative and absolute positioning, and z-index CSS property.
      Does not work for controls in MSHTML due to its using Windows-native
      controls.

      Your mentioning the "google live search effect" suggests A), however then
      you could have simply used the Source, Luke.

      <http://jibbering.com/faq/>


      PointedEars
      --
      realism: HTML 4.01 Strict
      evangelism: XHTML 1.0 Strict
      madness: XHTML 1.1 as application/xhtml+xml
      -- Bjoern Hoehrmann

      Comment

      • Thomas 'PointedEars' Lahn

        #4
        Re: How to set the div under a text box?

        Tom de Neef wrote:
        "Cylix" schreef:
        >anyone know how to set the div just under a control or another div?
        >Just like the google live search effect.
        >>
        >Thanks a lot.
        >
        Bind them in a table?
        Utter nonsense.


        PointedEars
        --
        Prototype.js was written by people who don't know javascript for people
        who don't know javascript. People who don't know javascript are not
        the best source of advice on designing systems that use javascript.
        -- Richard Cornford, cljs, <f806at$ail$1$8 300dec7@news.de mon.co.uk>

        Comment

        Working...