Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML Forms 1

Status
Not open for further replies.

tanveer91

Programmer
Nov 13, 2001
31
GB
Is it possible to have fixed length text fields on website forms???


Your help is greatly appreciated...
 
What sort of text fields?

You can have something like:

<INPUT NAME=&quot;email&quot; VALUE=&quot;&quot; SIZE=&quot;15&quot;>
<INPUT NAME=&quot;name&quot; VALUE=&quot;&quot; SIZE=&quot;25&quot;>

or text area:

<textarea name=&quot;comment&quot; cols=&quot;20&quot; rows=&quot;10&quot;>

is this what you need?




É
<!--#include file=&quot;profound quotation&quot; -->
 
i think he wants to know if you can defign a <textarea>'s width/height in pixles. honestly i'd like to know if you can too.
 
theocraticmind,

if this is what he asked for then CSS is the way to do it :

<textarea style=&quot;width:100;height:50;&quot;></textarea> Gary Haran
 
I only wish this solution worked in all types of browsers. I tried it in Opera, IE5 NS6 and it worked fine. But in NS4 it showed nothing at all.
Mitch Duszynski
Web Developer
Human Kinetics
PO Box 5076, Champaign, IL 61825
Tel: 217-351-5076 x2474 | Fax: 217-351-2674
mitchd@hkusa.com |
 
MrSki,

is showing up all weird on my IE6 but is fine with Mozilla. Is this normal?

NS4 requires that you have a <form> form elements </form> tag wrapping all form elements. And lots of things such as simple CSS, JavaScript and HTML does not work in NS4.

Hope this helps. Gary Haran
 
Xutopia,

I do not have IE6 so I do not know what is &quot;weird&quot; with it. Can you give us a hint?

TheocraticMind,

I would love nothing better than to give up on NS4, but unfortunately we still have a large part of our client base who still use it.

My Dream: One day ALL browsers will act alike! (I told you it was a dream!)
Mitch Duszynski
Web Developer
Human Kinetics
PO Box 5076, Champaign, IL 61825
Tel: 217-351-5076 x2474 | Fax: 217-351-2674
mitchd@hkusa.com |
 
I went back to your site to make a screenshot and the problem did not occur anymore.

The problem was a space between the two columns pushing all the right content way too far to the right making it impossible to see without scrolling the horizontal scroller.

Any recent updates to your site or was I on crack? ;) Gary Haran
 
Xutopia,

You were not on crack. The problem you have described occurs once in a while in a variety of browsers. We have never been able to figure out quite why. Since we use a lot of tables to guide our layout I am guessing that the browsers just get momentarily confused. Luckily it always fixes itself with a reload.

Thanks for the heads up though! Mitch Duszynski
Web Developer
Human Kinetics
PO Box 5076, Champaign, IL 61825
Tel: 217-351-5076 x2474 | Fax: 217-351-2674
mitchd@hkusa.com |
 
Hi,

this is what I see:
cant be right can it?
Makes no difference if i refresh it. Perhaps its my browser though, it gives trouble once in a while. (IE6)




É
<!--#include file=&quot;profound quotation&quot; -->
 
line 672 of the html page there is a little bit of code that seems to be the culprit :

</td></tr></table></tr>

There should normally be a closing </td> before the closing </tr>

I hope this helps. Gary Haran
 
Hi,

i checked the other pages too
/service/orderinfo.cfm
/service/catalog.cfm

all are pretty much the same as what I posted. Want me to take snap shots?
I'm curious, do other IE6 users see this or is it just me??


É
<!--#include file=&quot;profound quotation&quot; -->
 
Hmmm... Hi guys,

If you are looking for anymore input, I had bizzare things happen on the view_cart.cfm page. I presume the same as others have had (content part way over right). Did come and go upon some refreshing.

I would suggest the same as xutopia posted - check the W3C validator readout and go through adjusting any little bits that need it. Its amazing what problems it can solve sometimes.

Cheers,

01101000011000010110010001110011
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top