By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,568 Members | 1,194 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,568 IT Pros & Developers. It's quick & easy.

How to set the div under a text box?

P: n/a
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.
Jul 17 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
"Cylix" <cy*******@gmail.comschreef in bericht
news:7d**********************************@s50g2000 hsb.googlegroups.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
Jul 17 '08 #2

P: n/a
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
Jul 17 '08 #3

P: n/a
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, <f8*******************@news.demon.co.uk>
Jul 17 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.