Sorry if this is a basic question but here is my code: http://jsfiddle.net/s7wdkxun/
I can't understand why this isn't working with the percentage widths, instead it stays as fixed pixels.
<div style="width: 100%">
<input class="1">
<input class="2">
<input class="3">
</div>
CSS
* {
margin: 0;
padding: 0
}
.1 {
width: 30%;
margin-right: 10%
}
.2 {
width: 30%;
margin-right: 10%
}
.3 {
width: 20%
}
Where am I going wrong?