So I'm having a really weird issue with my submit button. I'm using width:100% on the submit button, and it is in a "wrap" So, basically it should be the full width, but ultimately I can't seem to get it to work. Here's a screen shot of what I'm talking about

As you can see the input fields are all working correctly with the width:100%, but the submit isn't working. Here's the code to the corresponding issue.
The HTML part.
<div class="wrap">
<form>
<div>
<input type="text" placeholder="Name">
</div>
<div>
<input type="text" placeholder="Email">
</div>
<div>
<input type="password" placeholder="Password">
</div>
<div>
<input type="submit">
</div>
</form>
</div>
And the CSS to it.
input[type=submit] {
font-family: "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif;
display: block;
height: 52px;
width: 100%;
margin: 0 auto;
background: #27A6D1;
text-align: center;
color: #fff;
line-height: 52px;
font-size: 20px;
font-weight: 500;
cursor: pointer;
padding: 0;
border: none;
}
.wrap {
width: 320px;
margin: 0 auto;
padding: 40px 0;
}
input {
width: 100%;
height: 52px;
margin: 0 0 10px;
font-size: 18px;
font-family: "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #333;
background: #fff;
padding: 0 14px;
outline: none;
border: 1px solid #ccc;
}
I can get it to work with something like width: 109%, but I would prefer using 100, and a reason or explanation why this isn't working, Any ideas guys?
Also, find a fiddle here.
button? Maybe thebuttonis right and theinputsare wrong (i.e. theinputshaving padding which is actually overflowing thewidth: 320px. EDIT: I'd say after you posted your full CSS, that theinputsare wrong. The14pxpadding is probably causing theinputsto extend beyond the container boundaries...