formatting the html to match style