Results 1 to 2 of 2
Related
-
Form Does Calculations Problem Forum: HTML Forum
Replies: 9 -
Form Submit Problem Forum: HTML Forum
Replies: 2 -
Funny Problem With Form Forum: PHP Forum
Replies: 1 -
PHP Form Mail Problem Forum: PHP Forum
Replies: 30 -
submit form problem Forum: HTML Forum
Replies: 0
-
03-06-2004, 03:23 PM #1
Problem with form in IE6 - empty space at end of form
Hallo.
I'm adding a database to my website, and right now I'm working on the search engine for it. I've got a little problem with the design, due to a bug (?) in IE. Here's the code for the search form:
<TABLE CLASS=dbsearch BORDER=0 ALIGN=center CELLPADDING=10 CELLSPACING=2><TR><TD BGCOLOR=#F0F0F0>
<FORM METHOD=x ACTION=y>
<P CLASS=small>
<B>Search words:</B><BR>
<INPUT type="text" name="name" SIZE=64><BR>
<CENTER><SPAN CLASS=small><B>Search in:</B>
<INPUT name="game" type="checkbox" value="title"> title
<INPUT name="game" type="checkbox" value="author"> author
<INPUT name="game" type="checkbox" value="description"> description
</P>
<P CLASS=small>
<B>Type:</B><BR>
<INPUT name="type" type="checkbox" value="tc"> Total Conversion (TC)
<INPUT name="type" type="checkbox" value="gr"> Graphics Remake (GR)
</P>
<P CLASS=small>
<B>Game:</B><BR>
<INPUT name="game" type="checkbox" value="keen1"> Keen 1
<INPUT name="game" type="checkbox" value="keen2"> Keen 2
<INPUT name="game" type="checkbox" value="keen3"> Keen 3
</P>
<P CLASS=small>
<B>Screenshots:</B><BR>
<INPUT name="img" type="radio" value="on" checked> High quality (max 274 kb)<BR>
<INPUT name="img" type="radio" value="on" checked> Low quality (max 113 kb)<BR>
<INPUT name="img" type="radio" value="off"> No screenshots
</P>
<P CLASS=centered><INPUT TYPE="submit" VALUE="Search"></P>
</FORM>
</TD></TR></TABLE>
And now, screenshots of the code in action...
...in Internet Explorer6: http://personal.inet.fi/koti/meklund/images/ie6.png
...and in Opera 6.05: http://personal.inet.fi/koti/meklund/images/opera6.png
As you can see in the screenshots, IE adds an empty line after the </FORM> tag, while Opera doesn't. Any good way to get rid of this unwanted line?
- Zorath
-
03-06-2004, 09:21 PM #2
Form tags should always be placed outside the table.
pretty simple
Dave