CSS and HTML reformatting