https://stackoverflow.com/questions/29822990/override-a-html-table-td-style First, in your example code, I added the two enclosing div's (.valuator, .sw-slots) so that the first CSS rule applies to the table.