<!DOCTYPE html> <html> <body style="direction: rtl"> <input type="text" style="-moz-appearance:none; width:200px;" value="1"> <!-- div to cover spin box area --> <div style="display:block; position:absolute; background-color:black; width:200px; height:100px; top:0px; right:100px;"></div> </body> </html>