Drupal 7 : How to add Class to the Table for Any Theme

Easiest way is to put the following in your template.php of your current theme. Replace THEME with your current theme name.

and if you want striped tables:

and don’t forget to clear the cache šŸ™‚