Issue where CSS for tables was being used on all tables, rather than just resource table