apply styles for the table data and also adding table header and table header style