Don’t Use bgcolor. How to Style a Table with CSS. Before CSS enjoyed broad browser support, many attributes sprang up that allowed web developers to style HTML tables by adding styling directly to each HTML element. HTML