Connecting Tech Pros Worldwide Help | Site Map

bad position of autocomplete list of input field

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 23rd, 2005, 07:52 PM
Kubus
Guest
 
Posts: n/a
Default bad position of autocomplete list of input field

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.

  #2  
Old July 23rd, 2005, 08:02 PM
Kubus
Guest
 
Posts: n/a
Default 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.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.