html why my button is at the center of the div code example
Example: how do you center buttons in css
<div style="text-align:center;">
<button>button1</button>
<button>button2</button>
</div>
<div style="text-align:center;">
<button>button1</button>
<button>button2</button>
</div>