Answers for "how to grow up an input width"

2

input width autosize

<input 	id="txt" 
		type="text" 
        onkeypress="this.style.width = (this.value.length + 1) + 'em';">
Posted by: Guest on October-26-2020
1

html input submit size width

input[type=submit] {
    width: 20em;  height: 2em;
}
Posted by: Guest on September-05-2020

Browse Popular Code Answers by Language