79689133

Date: 2025-07-03 16:01:19
Score: 1
Natty:
Report link

Best way I know, create the button in a div with text-align center.
The OP said indeed that he doesn't want to add CSS to the div, and he may have good reason for that. But you can add another div inside the first one, just for the button(s), and leave the original div unchanged.
It's better than with margin auto because you can do it easily the same way if you have more than 1 button.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: VSim