added styles to each td