encogido div para adaptarse al contenido
.centerBox {
display:inline-block;
text-align:center;
}
<div class="centerBox">
Some text
</div>
Studious Gamer
.centerBox {
display:inline-block;
text-align:center;
}
<div class="centerBox">
Some text
</div>