Change horizontal centering technique

to workaround a Safari bug