tidy up the html layout of logs