title: How to apply CSS to td of particular table using Classname?
body: <p>How to apply CSS to td of particular table using <strong>Classname</strong>? (Not ID or Name)</p>
  
  <p>Following is HTML</p>
  
  <pre><code>&lt;table class="pure-table ToBeApplied"&gt;
   &lt;tbody&gt;
    &lt;tr class="pure-table-odd"&gt;
     &lt;td&gt;
      &lt;label&gt;Bank&lt;/label&gt;
     &lt;/td&gt;
     &lt;td&gt;
      &lt;label&gt;Japha Bank&lt;/label&gt;
     &lt;/td&gt;
    &lt;/tr&gt;
   &lt;/tbody&gt;
  &lt;/table&gt;
  &lt;table class="pure-table NotToBeApplied&gt;
   &lt;tbody&gt;
    &lt;tr class="pure-table-odd"&gt;
     &lt;td&gt;
      &lt;label&gt;Bank&lt;/label&gt;
     &lt;/td&gt;
     &lt;td&gt;
      &lt;label&gt;Japha Bank&lt;/label&gt;
     &lt;/td&gt;
    &lt;/tr&gt;
   &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I want to apply CSS say</p>
  
  <pre><code>td {padding-top:0; padding-bottom:0;}
  </code></pre>
  
  <ul>
  <li>i want to apply it on td's of table having <strong>Classname</strong>''ToBeApplied''.</li>
  <li>I do not want to write a class and write same on each td of table</li>
  <li>I do not want it to apply on td's of second table have <strong>Classname</strong>''NotToBeApplied''</li>
  </ul>
  
  <p>How to modify HTML and CSS to achieve above?</p>