HTML and css optimisation fix