SyntaxFix
Write A Post
Hire A Developer
Questions
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
number
size
input[type=number]{ width: 80px; }
Updated Fiddle