Connecting Tech Pros Worldwide Forums | Help | Site Map

bad position of autocomplete list of input field

Kubus
Guest
 
Posts: n/a
#1: Jul 24 '05
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 does not work when hosted in IFRAME :
http://www.geocities.com/kszmigie/main.htm
(simplified code here):

<table border=1>
<tr><td><B> HEADER </B></td></tr>
<tr><td><iframe src="inner.htm"></iframe></td></tr> ...

the autocomplete is moved down from it's form field.

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.

dwight.stegall@gmail.com
Guest
 
Posts: n/a
#2: Jul 24 '05

re: bad position of autocomplete list of input field


until you figure it out turn off autocomplete like this <form action=""
autocomplete="off">

Kubus
Guest
 
Posts: n/a
#3: Jul 24 '05

re: bad position of autocomplete list of input field


dwight.stegall@gmail.com napisal
news:1116449028.383705.235440@o13g2000cwo.googlegr oups.com:
[color=blue]
> until you figure it out turn off autocomplete like this <form action=""
> autocomplete="off">
>[/color]

hard to name it a workaround but thanks :)

Actually I found workaround just today but I have not tested if it
would not spoil anything else on the page. Anyway I wont't tell
it now not to suggest anyone with it and I wonder if any of MS experts
would respond.

Greetings,
Kuba

--
Please remove "niepotrzebne_" from my e-mail when answering.
Kubus
Guest
 
Posts: n/a
#4: Jul 24 '05

re: bad position of autocomplete list of input field


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.
Kubus
Guest
 
Posts: n/a
#5: Jul 24 '05

re: bad position of autocomplete list of input field


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.
Closed Thread


Similar HTML / CSS bytes