changed htmlmarkup to type="number" and fixed the CSS for that.

Also added numpad numbers to the code.