The forms tag forces a line feed after the closing tag. Either do as you have, which is typical, or via CSS remove that extra padding after the element.
-----Original Message----- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Sunday, March 13, 2005 4:08 AM To: CF-Talk Subject: Making my form not screw up my table, yet validate? This is in Firebox. If I try to place a form inside a td, it messes up the formatting a bit. There's extra padding below and it throws things off. <td width="488" align="center"> <cfform action="search.cfm" method="post" id="searchform"> <cfinput name="search" type="text" size="15" maxlength="20" onfocus="this.value=''" value="enter search term" required="yes" message="Please enter a search term" /> <input name="submit" type="submit" value="search" class="buttons" /> </cfform> </td> But if I place the cfforms above and below the td's like usual to fix formatting, it looks right, but doesn't validate. It says "discarding an unexpected form tag". <cfform action="search.cfm" method="post" id="searchform"> <td width="488" align="center"> <cfinput name="search" type="text" size="15" maxlength="20" onfocus="this.value=''" value="enter search term" required="yes" message="Please enter a search term" /> <input name="submit" type="submit" value="search" class="buttons" /> </td> </cfform> Anyone else run into this? Maybe have an idea? Thanks, 0-->Will<--O ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198601 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54