refine html structure and css