Though I made the submit button and the input text exactly
but when i run the app, they don't have the same width:
this is a jsfiddle
could you help please?
That's because both border-box attributes are different by default..
box-sizing: content-box on the button, or
box-sizing: border-box on the Input Elements.
This recipe can be found in it's original form on Stack Over Flow.