input box does not appear in NN

Posted on 2000-04-07
Last Modified: 2010-04-09
I have some html that works with IE5 , but not NN 4.72
The problem is that the text input box does not appear in NN.
Can someone tell me what is wrong?

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <input id="textField" type="TEXT" name="textField" value="" size=10 maxlength=10>
Question by:omom
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

hkmdj earned 50 total points
ID: 2694758
Netscape requires the use of a form tag around any input.  Change it to be:

<form name="myform">
<input id="textField" type="TEXT" name="textField" value="" size=10 maxlength=10>

Also, if this doesn't work in Netscape, place the form tags outside of the table.

I know Netscape desires the tags for the input.

David Johnson

Expert Comment

ID: 2695017
You are missing the tr and td tags for the table... You put those in and it should work...

<td><form name="myform">
<input id="textField" type="TEXT" name="textField" value="" size=10 maxlength=10></td>



Expert Comment

ID: 2695333
I've seen a page that's missing a text field in NS only, I've looked at the source several times, and it is as it should be, so maybe this problem is a little more complex than it appears at a first glance.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 2695363
yes hkmdj is correct, NS need a form tag !
you can just change the <table> tag to <form> tag
is the most simple way too !!

Author Comment

ID: 2705384
You are correct!

Which would be better:
1. Use one pair <form>...</form> for everything
2. Use a pair of  <form>...</form> for each input

Lock if you want the points.

Expert Comment

ID: 2705504
One pair of form tags for everything should do it.  It would depend on what your form is doing for you.  There are two important attributes to the form tag, they are method and action.  More often than not, the method is post and the action is the name of the page to post the info to.

I would still throw some <tr><td></td></tr> tags in there to keep your code clean for IE and NN.

Have a great night!

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

627 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