Link to home
Start Free TrialLog in
Avatar of hateli
hateli

asked on

why this code doesent work in NETSCAPE ?

following code works very well on IE.
Can anybody tell me why this code doesnt work in netscape ? and what should do to make it run..

<table width="600" cellspacing="0" cellpadding="0" border="0">
 <tr>
 <td width="600">
 <table cellspacing="1" cellpadding="0" border="0">
 <tr>
 <td><a style="font-size:8pt;font-family:Arial;font-weight:bold">Customer Number:&nbsp;&nbsp;</td>
 <td><input type="text" name="custID" value="012345" size="20" maxlength="8"
 <td><a style="font-size:8pt;font-family:Arial;font-weight:bold">Name:&nbsp;&nbsp;</td>
 <td><input type="text" name="custName" value="Kyle's Customer" size="40" maxlength="40"
 </tr>
<tr>
Avatar of maneshr
maneshr

you need to provide </table> twice to close the <table> tag that you open.
Avatar of hateli

ASKER

oops i think u r right but i was asking about this !!


<input type="text" name="custID" value="012345" size="20" maxlength="8">
<INPUT type=text name=url size=70 value="http://">


<input type = "Text" doesnt work on netscape for me why ???? try copy past above two lines and view in netscape it doestn show but in IE it does.. why ? what should i do if i want for netscape ??


is this input tag between a<form action="something" method=post> and </form> tag??
Avatar of hateli

ASKER

there is nothing like form and action post plzz try to understand .. only this much i ma trying add textbox in my webpage it shows on IE not in netscape whyy ??
You really DO need the <FORM> </FORM> tags for this to work in Netscape.

Try this and you'll see it now shows up in Netscape.
<FORM>
<input type="text" name="custID" value="012345" size="20" maxlength="8">
<INPUT type=text name=url size=70 value="http://">
</FORM>

IE is not as picky as NETSCAPE about TAGS.
ASKER CERTIFIED SOLUTION
Avatar of sureshkumar
sureshkumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To start with , it is a must to close all tags ,which u had'nt done
Secondly , <input type> needs to be placed in a <form tag> as seen below for it to be viewed in Netscape


<HTML>
<HEAD>
<TITLE></TITLE>
<META name="description" content="">
<META name="keywords" content="">
</HEAD>
<BODY BGCOLOR=FFFFFF TEXT=000000 LINK=0000FF VLINK=800080>
<table width="600" cellspacing="0" cellpadding="0" border="0">
      <tr>
            <td width="600">
                  <table cellspacing="1" cellpadding="0" border="0">
                        <tr>
                        <form name="test">
                              <td nowrap><a style="font-size:8pt;font-family:Arial;font-weight:bold">Customer Number:&nbsp;&nbsp;</td>
                              <td><input type="text" name="custID" value="012345" size="20" maxlength="8"></td>
                              <td><a style="font-size:8pt;font-family:Arial;font-weight:bold">Name:&nbsp;&nbsp;</td>
                              <td><input type="text" name="custName" value="Kyle's Customer" size="40" maxlength="40"></td>
                        </form>
                        </tr>
                  </table>
            </td>
      </tr>
</table>
</BODY>
</HTML>
hope this helps]
Mona