Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Html
input width autosize
Bo Adan
Programming language:
Html
2021-04-12 05:29:20
1
Q:
input width autosize
DrakaSAN
Code:
Html
2021-04-05 18:31:03
<input id="txt" type="text" onkeypress="this.style.width = (this.value.length + 1) + 'em';">
1
Tags
input
Related
html input size
change text width html
html textarea auto height to amount of text
html ms-text-size-adjust
html input autocomplete
size not allowed on input html
New to Communities?
Join the community