handle number inputs

Use the same styling for <input type=text> as for <input type=number>
since they largely render the same.