center a button cs code example
Example 1: horizontaly center button css
button {
margin:0 auto;
display:block;
}
Example 2: how do you center buttons in css
<div style="text-align:center;">
<button>button1</button>
<button>button2</button>
</div>