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

bad position of autocomplete list of input field

P: n/a
Please help, IE 6.0 seems to hava a problem with input form autocomplete
dropdown positioning.
The dropdown list with last entries which appears normally right
below the field but when used within an IFRAME it is offset far down from
input field - seems the dropdown is moved down exactly same amount as
IFRAME offset from the top of the main document.

Simple example:
<form method="get">
<input type="text" name="Name" value="">
</form>
works ok here:
http://www.geocities.com/kszmigie/inner.htm

but this example from above when hosted in IFRAME (simplified
code here):
<table border=1>
<tr><td><B> HEADER </B></td></tr>
<tr><td><iframe src="inner.htm"></iframe></td></tr> ...
does not work ok, the autocomplete is moved
down from it's form field:
http://www.geocities.com/kszmigie/main.htm

This works ok in Firefox. Anybody has a clue how to workaround it
or fix it in my code?
It looks very ugly in my project :(

Thanks a lot!
Kuba

--
Please remove "niepotrzebne_" from my e-mail when answering.
Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
ok, no responses so I'll publish my findings.
What seems to solve the problem (at least inthis particular case)
is to add positioning style item to the IFRAME :

style='position:relative;left:0px;top:0px;'

and the autocomplete box jumps back to it's correct position.

Best Regards,
Kuba
--
Please remove "niepotrzebne_" from my e-mail when answering.
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.