make input button center itself code example Example: input type submit align center <input type="text" style="margin:0px auto; display:block;" />