button center in div css code example
Example 1: how to make a button centered in html5
<!--Put the button inside a p like this-->
<p style="text-align: center;"><button>See?</button>Whatever</p>
Example 2: how do you center buttons in css
<div style="text-align:center;">
<button>button1</button>
<button>button2</button>
</div>