I don\'t understand why input width with type submit less than input with type text. Could you help me with it?
HTML:
Demo
The box model being used is different for both the inputs, you can make the box models the same by specifying them box-sizing
box-sizing
css
input { width: 200px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }