How to center something width-wise using CSS. In particular this is useful for buttons. Even more particularly I made this to help people to center buttons if the are using Joomshaper SP Pagebuilder. I used this to center the buttons for SP Pagebuilder, but this could also be used for anyone who want to center something horizontally with CSS.
from Andrew Brett Watson.com