.inline-center { /* fake a centre with a floating span that takes all the width */ float: left; clear: both; width: 100% !important; margin: 1em auto; padding: 0; text-align:center; }