I’m continually forgetting this (and having to ask), so here’s a reminder to myself and maybe it will be useful to you.
To center text horizontally in div, use display: block; margin: 0 auto;
.center-horizontal { display:block; margin: 0 auto; }