Answers for "auto increase width of input field css"

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
0

how to increase size of input submit type in html

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

Browse Popular Code Answers by Language