?
Solved

Form tag with Netscape causes a carriage return

Posted on 2000-02-24
4
Medium Priority
?
1,043 Views
Last Modified: 2010-04-09
Hi,

A CR & LF before the form tag appears on my web pages and I can't find a solution to avoid this. I tried the classic solution: put the form tag between the TR and /TR tags... but it doesn't work in this case. Do you have an explanation? You find the html page at http://www.classique-info.com (form tag is at line 29).

Thanks a lot!!!
François
0
Comment
Question by:flepalec
  • 3
4 Comments
 
LVL 1

Accepted Solution

by:
cabrionet earned 1600 total points
ID: 2555737
This must work. Good luck;

Cabrio
<html>
<head>
<title>Classique-Info - Accueil</title>
<style>
A:hover
{
    TEXT-DECORATION: none
}
</style>
</head>
<body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" link="#333333" alink="#333333" vlink="#333333">
<a href="#top"></a>
<table width="608" cellspacing="0" cellpadding="0" border="0">  <form action="/Default.asp" method="post" name="countryForm">
  <tr>
    <td width="130" height="70" bgcolor="#FFFFFF" rowspan="2" align="center" valign="middle"><img src="images/logo.gif" width="116" height="49"></td>
    <td width="468" height="60" bgcolor="#333333" colspan="2">
    <A HREF="ads/adredir.asp?url=html/bach.htm&image=ads/banners/bach.gif" ><IMG SRC="ads/banners/bach.gif" ALT="Coffret Bach" WIDTH=468 HEIGHT=60 BORDER=0></A></td>
    <td width="10" height="70" bgcolor="#CCCC99" rowspan="2"><img src="images/px_CCCC99.gif" width="10" height="70"></td>
  </tr>
  <tr>
    <td width="174" height="10" bgcolor="#FFFFFF">&nbsp;</td>
    <td width="294" height="10" bgcolor="#CCCC99"><img src="images/px_CCCC99.gif" width="294" height="10"></td>
  </tr>
</table>
<table width="608" height="37" border="0" cellspacing="0" cellpadding="0">

  <tr>
    <td height="3" width="304" bgcolor="#000000"><img src="images/px_000000.gif" width="1" height="1"></td>
    <td height="37" width="304" bgcolor="#000000" align="right" rowspan="3">
      <font face="Verdana, Arial, Helvetica, sans-serif" size="1">Sélectionnez
      <select name="intCountryID" style="font-size: xx-small;" onChange="this.form.submit();">
        <option value="0" selected>Tous les pays
        <option value="11" >France
        <option value="6" >Belgique
        <option value="30" >Suisse
        <option value="19" >Monaco
        <option value="2" >Allemagne
        <option value="17" >Italie
        <option value="12" >Royaume-Uni
      </select>
      </font>
      &nbsp;
    </td>  
  </tr>

  <tr>
    <td height="25" bgcolor="#000000" align="left">
      <a href="default.asp"><img src="images/nav_top_accueil.gif" width="59" height="10" border="0"></a>
      <a href="guide.asp"><img src="images/nav_top_guide.gif" width="42" height="10" border="0"></a>
      <a href="contact.asp"><img src="images/nav_top_contact.gif" width="50" height="10" border="0"></a>
      <!--a href="search.asp"><img src="images/nav_top_recherche.gif" width="59" height="10" border="0"></a-->
      <a href="ads.asp"><img src="images/nav_top_publicite.gif" width="41" height="10" border="0"></a>
    </td>
  </tr>
  <tr>
    <td height="9" bgcolor="#333333"><img src="images/px_333333.gif" width="1" height="1"></td>
  </tr>
</table>
<table width="608" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="144" valign="top" bgcolor="#CCCC99">
      <table width="144" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="10" bgcolor="#CCCC99" rowspan="14"><img src="images/px_CCCC99.gif" width="10" height="1"></td>
          <td width="18" height="5" bgcolor="#660000"><img src="images/px_660000.gif" width="18" height="5"></td>
          <td width="116" height="20" bgcolor="#660000" rowspan="2">
            <a href="performances.asp?t=-1"><img src="images/cat_representations.gif" width="116" height="20" border="0"></a><br>
            <a href="performances.asp?t=1"><img src="images/cat_operas.gif" width="116" height="15" border="0"></a><br>
            <a href="performances.asp?t=2"><img src="images/cat_recitals.gif" width="116" height="15" border="0"></a><br>
            <a href="performances.asp?t=3,4,5"><img src="images/cat_concerts.gif" width="116" height="15" border="0"></a><br>
            <a href="performances.asp?t=6"><img src="images/cat_ballets.gif" width="116" height="15" border="0"></a></td>
        </tr>
        <tr>
          <td width="18" height="75" bgcolor="#CCCC99">&nbsp;</td>
        </tr>
        <tr>
          <td width="18" height="5" bgcolor="#000033"><img src="images/px_000033.gif" width="18" height="5"></td>
          <td width="116" height="20" bgcolor="#000033" rowspan="2"><a href="festivals.asp"><img src="images/cat_festivals.gif" width="116" height="20" border="0"></a></td>
        </tr>
        <tr>
          <td width="18" height="15" bgcolor="#CCCC99"><img src="images/px_CCCC99.gif" width="18" height="15"></td>
        </tr>
        <tr>
          <td width="18" height="5" bgcolor="#CC6600"><img src="images/px_CC6600.gif" width="18" height="5"></td>
          <td width="116" height="20" bgcolor="#CC6600" rowspan="2"><a href="broadcasts.asp"><img src="images/cat_programmes.gif" width="116" height="20" border="0"></a></td>
        </tr>
        <tr>
          <td width="18" height="15" bgcolor="#CCCC99"><img src="images/px_CCCC99.gif" width="18" height="15"></td>
        </tr>
        <tr>
          <td width="18" height="5" bgcolor="#663333"><img src="images/px_663333.gif" width="18" height="5"></td>
          <td width="116" height="20" bgcolor="#663333" rowspan="2"><a href="books.asp"><img src="images/cat_livres.gif" width="116" height="20" border="0"></a></td>
        </tr>
        <tr>
          <td width="18" height="15" bgcolor="#CCCC99"><img src="images/px_CCCC99.gif" width="18" height="15"></td>
        </tr>
        <tr>
          <td width="18" height="5" bgcolor="#006666"><img src="images/px_006666.gif" width="18" height="5"></td>
          <td width="116" height="20" bgcolor="#006666" rowspan="2"><a href="compacts.asp"><img src="images/cat_compacts.gif" width="116" height="20" border="0"></a></td>
        </tr>
        <tr>
          <td width="18" height="15" bgcolor="#CCCC99"><img src="images/px_CCCC99.gif" width="18" height="15"></td>
        </tr>
        <tr>
          <td width="18" height="5" bgcolor="#996633"><img src="images/px_996633.gif" width="18" height="5"></td>
          <td width="116" height="20" bgcolor="#996633" rowspan="2"><a href="dvd.asp"><img src="images/cat_dvd.gif" width="116" height="20" border="0"></a></td>
        </tr>
        <tr>
          <td width="18" height="15" bgcolor="#CCCC99"><img src="images/px_CCCC99.gif" width="18" height="15"></td>
        </tr>
        <tr>
          <td width="18" height="5" bgcolor="#333366"><img src="images/px_333366.gif" width="18" height="5"></td>
          <td width="116" height="20" bgcolor="#333366" rowspan="2"><a href="presse.asp"><img src="images/cat_magazines.gif" width="116" height="20" border="0"></a></td>
       </tr>
        <tr>
          <td width="18" height="15" bgcolor="#CCCC99"><img src="images/px_CCCC99.gif" width="18" height="15"></td>
        </tr>
        <tr>
          <td height="50" bgcolor="#CCCC99" colspan="3" align="center">
            <img src="images/px_CCCC99.gif" height="15" width="144">
           
        <!-- ### Marge Starts Here ### -->

<table width="125" height="116" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td background="images/mail_bg.gif">
      <table border="0" cellpadding="0" cellspacing="0">
        <form name="subscribe" action="subscribe.asp" method="post">
        <tr>
          <td align="left" valign="top" colspan="2"><img src="images/mail_title.gif" width="125" height="50"></td>
        </tr>
        <tr>
          <td align="left" valign="top"><input type="text" value="" name="email" size="10" maxlength="70"></td>
          <td rowspan="2"><input type="image" src="images/mail_btn.gif" width="40" height="31" border="0"></td>
        </tr>
        <tr>
          <td align="right" valign="bottom"><img src="images/px_000000.gif" width="65" height="1"></td>
        </tr>
        </form>
      </table>
    </td>
  </tr>
</table>

        <!-- ### Marge Ends Here ### -->

            <img src="images/px_CCCC99.gif" height="15" width="144">
          </td>
        </tr>
      </table>
    </td>
    <td width="464" valign="top">
      <table width="464" height="30" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="189" height="20" valign="top" align="left" bgcolor="#666666"><img src="images/title_top_accueil.gif" width="189" height="20"></td>
          <td width="145" rowspan="2" valign="top" align="left"><img src="images/title_ico_accueil.gif" width="145" height="30"></td>
          <td width="130" rowspan="2" align="center"><font face="Verdana,Arial,Helvetica,Sans-Serif" size="1" color="#333333">
          <b>24 février 2000</b></font></td>
        </tr>
        <tr>
              <td height="10"></td>
        </tr>
      </table>

        <!-- ### Main Starts Here ### -->
<table border="0" cellpadding="0" cellspacing="12">
  <tr>
    <td><font size=1 face="Verdana,Arial,Helvetica,Sans-Serif" color="#333333"><b><a href="article.asp?id=2">BIENVENUE SUR LE NOUVEAU SERVICE CLASSIQUE-INFO.COM</a></b> [22/2]<br>
    Ce nouveau site est destiné exclusivement à l'opéra, à la musique classique et à la danse. Vous y trouverez de nombreuses informations sur les représentations, les sorties de livres et de disques, ou encore les émissions à ne pas manquer. Toutefois, Classique-info.com est en période de pré-ouverture, aussi nous ne proposerons l'intégralité de nos services que dans quelques semaines.
    </font></td>
  </tr>
  <tr>
    <td><font size=1 face="Verdana,Arial,Helvetica,Sans-Serif" color="#333333"><b><a href="article.asp?id=3">RÉTROSPECTIVE "BACH À L'ÉCRAN" À L'AUDITORIUM DU LOUVRE DU 11 FÉVRIER AU 13 MARS 2000.</a></b> [11/2]<br>
    Après plusieurs rétrospectives par genres (les chefs d'orchestre, les voix, les pianistes....), cette nouvelle édition de "Classique en images" met en évidence un autre apport des archives filmées à la connaissance de la musique : en effet, l'histoire de la musique y est abordée par le biais d'un grand compositeur et des représentations qu'il a suscitées au cours de ce siècle.
    </font></td>
  </tr>
  <tr>
    <td><font size=1 face="Verdana,Arial,Helvetica,Sans-Serif" color="#333333"><b><a href="article.asp?id=1">FANTASIA 2000 EN EXCLUSIVITÉ AU DÔME IMAX DE LA DÉFENSE</a></b> [10/1]<br>
    Fantasia 2000, nouveau film d'animation Walt Disney Pictures réalisé sur des compositions classiques de Beethoven, Shostakovich, Respighi, Saint-Saëns, Elgar et Stravinsky, est actuellement présenté au dôme IMAX de la Défense, et ce jusqu'au 30 avril 2000.
    </font></td>
  </tr>
</table>

        <!-- ### Main Ends Here ### -->

    </td>
  </tr>
</table>
<table width="608" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="25" width="10" bgcolor="#666666">&nbsp;</td>
    <td height="25" width="134" bgcolor="#CCCC99"><a href="default.asp"><img src="images/nav_bot_ico_accueil.gif" width="45" height="25" border="0"></a><a href="guide.asp"><img src="images/nav_bot_ico_guide.gif" width="45" height="25" border="0"></a><a href="contact.asp"><img src="images/nav_bot_ico_contact.gif" width="44" height="25" border="0"></a></td>
    <td height="25" width="167" bgcolor="#555555" align="center" valign="middle">&nbsp;
    </td>
    <td height="25" width="167" bgcolor="#555555" align="center" valign="middle">&nbsp;
    </td>
    <td height="25" width="130" bgcolor="#FFFFFF" align="center"><a href="#top"><img src="images/nav_bot_haut.gif" width="39" height="13" border="0"></a></td>
  </tr>
</table>
<table width="608" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="25" width="10" bgcolor="#666666">&nbsp;</td>
    <td height="28" width="294" bgcolor="#666666"><a href="default.asp"><img src="images/nav_bot_accueil.gif" width="45" height="25" border="0"></a><a href="guide.asp"><img src="images/nav_bot_guide.gif" width="45" height="25" border="0"></a><a href="contact.asp"><img src="images/nav_bot_contact.gif" width="44" height="25" border="0"></a></td>
    <td height="28" width="304" bgcolor="#333333" align="center" valign="middle"><a href="terms.asp"><img src="images/credits.gif" width="246" height="13" border="0"></a></td>
  </tr>
</table>
</body>
</html>
0
 
LVL 1

Expert Comment

by:cabrionet
ID: 2555762
The problem was on 2 places.
1) in your source 1 tag </form> is enought so i erased the first.
2) the start tag <FORM> is now a lot higher.

Cabrio
0
 

Author Comment

by:flepalec
ID: 2555796
Thank you! :-)
0
 
LVL 1

Expert Comment

by:cabrionet
ID: 2556346
No problem. :)
P.S.: Nice design
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question