Fixes errors in html. Adds css class to center text