Styling only one table on a page not both?

I’m trying to restrict alternate colour rows to only one table but its applying to all tables on the page.
The code at the moment is - thanks

<div id=“box2”>
<STYLE>
tr:nth-child(even) {background: #CCC333}
tr:nth-child(odd) {background: #FFF}

</STYLE>
<style>
td{
font-size:65%;
}
</style>

Your code there is a bit garbled, but you could give the relevant table a special class (e.g. class=“box2”) and target it like so:

.box2 tr:nth-child(even) {background: #CCC333}
.box2 tr:nth-child(odd) {background: #FFF}

Brilliant -Thanks! Been puzzling all morning :slight_smile: