I'm struggling to center both buttons on the page. I've tried using margin:0 auto 0 auto; in the position property, but it doesn't seem to work. Strangely, when I used a table instead of a div, it worked. I'm curious to know why I can't seem to center it using a div.
Check out the actual web page here
<div class="col-md-9 col-sm-12 service-details">
<h1 class="website-banner">We Just Don't Create Websites, We Create Art.</h1>
<div class="button-container">
<button class="btn btn-lg btn-dark" type="button">
Build My Website
</button>
<button class="btn btn-lg btn-dark" type="button">
Work With Us
</button>
</div>
</div>
Any insights would be greatly appreciated. Thanks.