refined layout in css and html