+ 3
HTML5 input box width problem
Why their is difference of width of input box and input button in HTML5 with same CSS properties. But this is not problem with HTML. https://code.sololearn.com/W86f7z8243VF/?ref=app https://code.sololearn.com/WBAzKQjG3JC2/?ref=app
1 ответ
+ 4
In HTML5, the width is differentiated to show the difference between a button and a text input.
It is not found in the html because it is not focused at that time.
Solution: Use box-sizing: border-box ; in the css.
For the same width .