change the style of the main table