Simplifying the HTML and CSS