What's wrong with my HTML ?

Why does this code work in Internet Explorer but not in Netscape ?

<html>
<title>Title of page</title>
<body>
<H3 ALIGN=CENTER>Choose the table </H3>
<FORM METHOD=POST ACTION=http://........../servlet/Const2 TARGET=frame2>
<table COLS=3 width=100%>
<TR><td width=30%> Choose the table : </td>
<td width=50%><input type=radio name=choix value=liste checked>List DETAILS of articles <br></td>
<TD width=20%><INPUT NAME=submit TYPE=SUBMIT VALUE=Suivant></TD></tr>
<tr><td><SELECT NAME=TABLE>
<OPTION>GM00    .TGMADR            
<OPTION>GM00    .TGMPT            
<OPTION>GM00    .TGMPU            
</SELECT></td>
<td><input type=radio name=choix value=group >Calculate </td>
</PRE></P></FORM></TD>
<FORM TYPE=POST ACTION=http://........../servlet/VerifServlet TARGET=_top>
<TD><INPUT NAME=retour TYPE=SUBMIT VALUE=Quit> </TD></tr>
</FORM>
</BODY>
</html>
Eric98Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

oubelkasCommented:
Be more consequent with your end tags ;)

Between

<TD><INPUT NAME=retour TYPE=SUBMIT VALUE=Quit> </TD></tr>
</FORM>

end the table with </table>

Joseph
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
xabiCommented:
Hi goes the code working.


<html>
<title>Title of page</title>
<body>
<H3 ALIGN=CENTER>Choose the table </H3>
<FORM METHOD="POST" ACTION="http://........../servlet/Const2" TARGET="frame2">
<table COLS="3" width="100%">
  <TR>
    <td width="30%"> Choose the table : </td>
    <td width="50%"><input type="radio" name="choix" value="liste" checked>List DETAILS of articles <br></td>
    <TD width="20%"><INPUT NAME="submit" TYPE="SUBMIT" VALUE="Suivant"></TD>
  </tr>
  <tr>
    <td><SELECT NAME=TABLE>
          <OPTION>GM00    .TGMADR</option>          
          <OPTION>GM00    .TGMPT </option>          
          <OPTION>GM00    .TGMPU </option>          
          </SELECT>
    </td>
    <td><input type="radio" name="choix" value="group">Calculate </td>
    </TD>
  <TD>
    <input type="button" value="Quit" onclick="document.location='http://........../servlet/VerifServlet'">
  </TD>
  </tr>
</table>
</BODY>
</html>


Xabi
0
xabiCommented:
You have a lot of problems with you HTML code. Maybe you should try to use a visual html composer (Frontpage, Dreamweaver, etc)

Here goes a few considerations:

1.- Put all the tag values between double quotes:
  bad: <td width=30%>
  right: <td width="30%>
2.- Don't overlap tags.
  bad: <table><form></table></form>
  right: <form><table></table></form>
3.- close all you opened tags:
  bad: <option>GM00    .TGMADR
  right: <option>GM00    .TGMADR</option>
4.- test you urls:

Xabi
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

oubelkasCommented:
Very nice Xabi. Well Eric98, like Xabi said, mind your tags, you're a bit sloppy with that. Like Xabi purposed using Frontpage or Netscape Composer is a very good alternative.

Oh, and Xabi

bad: <td width=30%> -> it's not bad, but this...
right: <td width="30%"> ...is better.

Be consequent like I already said. Of course just helping you, not offending you. ;)

Joseph
0
oubelkasCommented:
Oh, Xabi, mind that you too must end with </form> tag. ;)
0
xabiCommented:
Oubelkas: Yes I know about <td> tags with and without double quotes. It works in both ways, but ppl must uset double quotes for better codding. If you use this tag

<input type=hidden name=foo value=hi there>

you can see better why it necesary the double quotes.

Regarding the </form> tag I was changing his code, not redoing it, so it forgot it :)

Thanks for the coments

<textarea name="name">xabi</textarea>
0
oubelkasCommented:
Yep, but back to the question, to solve this just do this

<TD><INPUT NAME=retour TYPE=SUBMIT VALUE=Quit> </TD></tr>
</TABLE>
</FORM>

end the table with </table>

Joseph

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.