title: CSS styling for all cells in a table
body: <p>I want to apply a style to all cells (td elements) inside a given table, and not any other tables. Is there a way to do this in CSS without having to specify a class for each td in the table I want to apply the style to?</p>
  
  <p>For example, let's say I want to make all cells in a particular table have a padding of 3px on all four edges. To do this for every td I could declare:</p>
  
  <pre><code>td { padding: 3px 3px 3px 3px; }
  </code></pre>
  
  <p>Problem: this applies to every single td on the page. I just want to apply to this a single, named table, or alternatively, to all tables of a given class.</p>
  
  <p>Any ideas?</p>