How to set the div under a text box?

C

Cylix

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.
 
T

Tom de Neef

Cylix said:
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
 
T

Thomas 'PointedEars' Lahn

Cylix said:
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
 

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

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top