add styles to prettify table in view