Yes there's a billion posts on this topic and this is ironic because I've centered many tables before..
But the "answer" is not working. I am using a Database.net plug in table (which could be why?) Link to Codepen: https://codepen.io/ScottFSchmidt/pen/eemrBG
Also, I want to be able to maintain like a 80%+ width. On "solution" worked but then the table was small because it had 50% width.
table {
width:100%;
margin: 0 auto;
}
.table {
border-radius: 5px;
margin: 0px auto;
float: none;
width:100%;
margin: 0 auto;
}
This is bootstrap 3 FYI not 4 so it’s not a duplicate