<!DOCTYPE html> <html> <body> <input type="number" style="-moz-appearance:none; width:auto;"> <!-- div to cover spin box area --> <div style="display:block; position:absolute; background-color:black; width:2000px; height:100px; top:0px; left:100px;"> </body> </html>