39 users online (0 members and 39 guests)  


  Results 1 to 2 of 2

Related

  1. Form Does Calculations Problem    Forum: HTML Forum
    Replies: 9
  2. Form Submit Problem    Forum: HTML Forum
    Replies: 2
  3. Funny Problem With Form    Forum: PHP Forum
    Replies: 1
  4. PHP Form Mail Problem    Forum: PHP Forum
    Replies: 30
  5. submit form problem    Forum: HTML Forum
    Replies: 0
  1. #1
    Zorath's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2003
    Posts
    16

    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

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    Form tags should always be placed outside the table.

    pretty simple

    Dave



Tags for this Thread