Seem like the input type number does not support size attribute or it’s not compatible along browsers, you can set it through CSS instead:
input[type="number"]{
width: 80px;
}
Updated Fiddle
Seem like the input type number does not support size attribute or it’s not compatible along browsers, you can set it through CSS instead:
input[type="number"]{
width: 80px;
}
Updated Fiddle