Length of textfields (input type='text')

C

Cylix

Any way to define the length of a textfield?

I have just set all the field with a width so that they look like clear
and easy to read,
However, When I see the page of mac os, They are totally not the result
in IE of FF,
Does there any way to define it absolutely?

I have already change the size attribute and set the width of the
input.

Thank you
 
R

RobG

Cylix said:
Any way to define the length of a textfield?

Yes, use the maxlength attribute - but I don't think that's what you
are after. You can suggest various style attributes using normal HTML
and CSS.

I have just set all the field with a width so that they look like clear
and easy to read,
However, When I see the page of mac os, They are totally not the result
in IE of FF,

Both IE and Firefox are available on Mac OS. Your problem is probably
a result of you trying to constrain the display using the wrong
approach. In any case, JavaScript is not the best solution.

Does there any way to define it absolutely?

That is the wrong approach.

I have already change the size attribute and set the width of the
input.

You're lost, JavaScript is not the answer. Try:

news:comp.infosystems.www.authoring.stylesheets
<URL:
http://groups.google.com/group/comp.infosystems.www.authoring.stylesheets?lnk=li&hl=en
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top