adapt style for tables