Form Works in Firefox, But Not IE

Discussion in 'HTML & Website Design' started by Sleepy_Sentry, Feb 20, 2007.

  1. #1
    I'm working on a form for a proxy site, http://www.tavanza.com/. It works fine in Firefox, but when I tested it in IE 7.0 it didn't work.

    Could someone please help me figure out what's wrong?

    
    <tr>
          <td width="200%" height="23" colspan="2">        
          <center><form name="URLform" action="http://tavanza.com/nph-proxy.pl/010110A/x-proxy/start" method="post">
    <input name="URL" size=66 value="www." class="form">
    <div style="display:none"><input type=checkbox id="rc" name="rc"><label for="rc"> Remove all cookies (except certain proxy cookies)</label>
    <input type=checkbox id="rs" name="rs" checked><label for="rs"> Remove all scripts (recommended for anonymity)</label>
    <input type=checkbox id="fa" name="fa"><label for="fa"> Remove ads</label>
    
    <input type=checkbox id="br" name="br" checked><label for="br"> Hide referrer information</label>
    
    <input type=checkbox id="if" name="if" checked><label for="if"> Show URL entry form</label>
    </div>
              <p class="style6"><strong>
              <font color="#ECA700" size="2" face="Verdana"> </font><font color="#74C085" size="1" face="Verdana">
              </font>
                </strong>
    </div>
    </form>
                <script type="text/javascript"><!--
    google_ad_client = "pub-xxxxxxxxxxxxxxxx";
    google_ad_width = 728;
    google_ad_height = 15;
    google_ad_format = "728x15_0ads_al_s";
    google_ad_channel = "0340322394";
    google_color_border = "FFFFFF";
    google_color_bg = "FFFFFF";
    google_color_link = "0000FF";
    google_color_text = "000000";
    google_color_url = "008000";
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    <input name="submit" type="submit" value="Unblock Me!" browsing="browsing" style="font-family: Verdana; font-size: 8pt; color: #000000; font-weight:bold" />
    
                 <span class="style4">
                </span></center>
    <div align="left"><div id="div1" style="display: none;"></div>
              </form></td>
    
    Code (markup):
     
    Sleepy_Sentry, Feb 20, 2007 IP
  2. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #2
    Clean up the code. Remove the </form> closing tag right above the last adsense block code on the page.
    Firefox does not seem to care that your form elements are left outside the actual form, while IE wants them enclosed properly.
    <tr>
          <td width="200%" height="23" colspan="2">        
          <center><form name="URLform" action="http://tavanza.com/nph-proxy.pl/010110A/x-proxy/start" method="post">
    <input name="URL" size=66 value="www." class="form">
    <div style="display:none"><input type=checkbox id="rc" name="rc"><label for="rc"> Remove all cookies (except certain proxy cookies)</label>
    <input type=checkbox id="rs" name="rs" checked><label for="rs"> Remove all scripts (recommended for anonymity)</label>
    <input type=checkbox id="fa" name="fa"><label for="fa"> Remove ads</label>
    
    <input type=checkbox id="br" name="br" checked><label for="br"> Hide referrer information</label>
    
    <input type=checkbox id="if" name="if" checked><label for="if"> Show URL entry form</label>
    </div>
              <p class="style6"><strong>
              <font color="#ECA700" size="2" face="Verdana"> </font><font color="#74C085" size="1" face="Verdana">
              </font>
                </strong>
    </div>
                <script type="text/javascript"><!--
    google_ad_client = "pub-xxxxxxxxxxxxxxxx";
    google_ad_width = 728;
    google_ad_height = 15;
    google_ad_format = "728x15_0ads_al_s";
    google_ad_channel = "0340322394";
    google_color_border = "FFFFFF";
    google_color_bg = "FFFFFF";
    google_color_link = "0000FF";
    google_color_text = "000000";
    google_color_url = "008000";
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    <input name="submit" type="submit" value="Unblock Me!" browsing="browsing" style="font-family: Verdana; font-size: 8pt; color: #000000; font-weight:bold" />
    
                 <span class="style4">
                </span></center>
    <div align="left"><div id="div1" style="display: none;"></div>
              </form></td>
    Code (markup):
     
    Clive, Feb 20, 2007 IP
    Sleepy_Sentry likes this.