monosyth
asked on
Autosuggest titles going underneath other form elements
I'm using autosuggest and when i have it in a form, and it's all in a table, and then I have some dropdowns in the cells beneath it. When it is in use, the autosuggestions go underneath the form elements. But only in IE6 does this happen. It's fine in IE7+. Anyone see this before and is there a fix? Thanks.
can you post some code
ASKER
Here is the code that does it...
<cfform name="form2" id="form2" method="post" action="myform.cfm?code=code2" target="_blank">
<div align="left"><b>Floor Plan:</b>
<select name="FloorplanID">
<cfloop query="FloorplanManager">
<option value="#FloorplanManager.FloorplanID#">#FloorplanManager.FloorplanName# - #FloorplanManager.SquareFeet# sqft</option>
</cfloop>
</select>
<br>
<b>Rent:
$</b>
<cfinput name="price" class="theInput" type="text" size="10"><br>
<table border="0" cellpadding="0" cellspacing="0" style="margin:0">
<tr>
<td><b>Title:</b> </td>
<td><cfinput
type="text"
autosuggest="cfc:titles.getTitles2({cfautosuggestvalue})"
name="title2"
class="theInput"
size="50"
value=""
maxlength="70"
maxResultsDisplayed="20"
></td>
</tr>
</table>
<b>Email:</b> <select name="Email">
<cfloop from="1" to="10" index="i">
<cfif #evaluate("Userinfo.Mailto#i#")# NEQ ""><option value="#evaluate("Userinfo.Mailto#i#")#">#evaluate("Userinfo.Mailto#i#")#</option>
</cfif>
</cfloop>
<option value="#Userinfo.Email#">#Userinfo.email#</option>
</select> <br>
<b>Second Dropdown:</b> <select name="PostTo">
<option value="one" selected>one</option>
<option value="two">two</option>
</select>
<br>
</div>
<div align="center">
<cfinput name="Submit" type="submit" class="SubmitButton" value="Post Ad">
</div>
</cfform>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.