CSS multiple tables in same page with different IDs : <p>We have two different tables in the same page. different IDs required for another purpose. So we created multiple CSS table elements in the Style . But only the first one is working. If i keep the customers design on top it will be applied , but only one at a time.</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-css lang-css prettyprint-override"><code>#salescss {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

#salescss td, #salescss th {
    border: 1px solid #ddd;
    padding: 8px;
}

#salescss tr:nth-child(even){background-color: #f2f2f2;}

#salescss tr:hover {background-color: #ddd;}

#salescss th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #357EC7;
    color: white;
body {font-family: Arial;}


 #customers {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

#customers td, #customers th {
    border: 1px solid #ddd;
    padding: 8px;
}

#customers tr:nth-child(even){background-color: #f2f2f2;}

#customers tr:hover {background-color: #ddd;}

#customers th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #357EC7;
    color: white;
body {font-family: Arial;}</code></pre>
</div>
</div>
</p>
