Why won\'t my input resize when I change the type to type=\"number\" but it works with type=\"text\"?
type=\"number\"
type=\"text\"
EXAMPLE
Email: &l
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