Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Browsers / Internet Explorer / January 2006



Tip: Looking for answers? Try searching our database.

AutoComplete Not Positioned Properly When Using IFrames

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mpyles - 29 Dec 2005 23:21 GMT
In my ASP page, I have an IFrame that contains only an HTML input text
box and a button.  The IFrame sits in a row in a table.  Here's a
snippet of the code.  This table is also sitting in another table.  The
frame is named frmQuickSearch.  (UGH!  table-based layouts are ugly,
but this is legacy code. Note the text box is in its own iframe because
the browsers have trouble resizing the row when it shrinks if it is
inline as simply a table row - the width of the table is adjustable).
The problem is that the autocomplete box pops up about 5 centimeters
below the bottom border of my text box (which is about 1px above the
border of the frame).  This topic was also posted on another group and
the answer was a link on how to turn off the feature.  I would like to
leave autocomplete on, but control the positioning of the autocomplete
box so it is displayed just below the HTML textbox.

%><table border="0" cellspacing="0" cellpadding="0" width="100%"
height="100%">
<%' Putting the search box as a table within this row caused problems
when the browser tries to
' resize it down in size - Used iframe to get around this problem.
if (IsQuickSearchAvailable) then
%><tr><td>
<div id="divQuickSearch" style="<%= IIF(IsBrowserIE(), "display:;",
"visibility:visible;")%>">
<iframe ID="frmQuickSearch" NAME="frmQuickSearch" SRC="QuickSearch.asp"
SCROLLING="no" WIDTH="100%" HEIGHT="23px" BORDER="0" FRAMEBORDER="0">
</iframe>
</div>
</td></tr>
<% end if
%>
<tr height="100%"><TD>
<div ID="divTree" STYLE="<%= IIF(IsBrowserIE(), "display:;",
"visibility:visible;")%>">
<iframe ID="tree" NAME="tree" SRC="Loading.asp" SCROLLING="auto"
WIDTH="100%" HEIGHT="100%" BORDER="0" FRAMEBORDER="0">
</iframe>
</div></td></tr>
</table>
mpyles - 04 Jan 2006 15:36 GMT
This problem has been addressed in the IE6 specific forum.  The
solution worked for me (adding
style="position:relative;left:0px;top:0px;" to the IFRAME).
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.