adds centered style.