You should be able to solve this using a class instead of directly targeting the "table" tag. Something like this:
<style>
.myTable, .myTable th, .myTable td {
*styling here*
}
</style>
Then in your body:
<table class="myTable">
Doing this will ensure that your CSS is specific only to the tag you've created here, rather than your whole page.