By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,453 Members | 956 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,453 IT Pros & Developers. It's quick & easy.

relation between size attribute and width css property for input type=text/password

P: 64
hi

Is size attribute inside input field with type=text/password only for identify width of input field? and what is the ralation between size attribute, width css property for input field and count of input character ?

in advance , thanks.
May 28 '11 #1
Share this Question
Share on Google+
1 Reply


P: 64
i think i find my answer
width css property and size attribute for input elements are merely for limit count of visible input character and limiting count of input character is done via maxlength attribute and we can set it to expected count of input character
May 28 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.