<table id="news" class="table" style="margin-top: -1px;">
<tbody style="font-size: 90%;">
тут столбцы
</tbody>
</table>
если в ней нет tr столбцов
$('table').show().not(':has(tr)').hide();
for (const n of document.getElementsByTagName('table')) {
n.hidden = !n.querySelector('tr');
}
.hidden {
display: none;
}
document.querySelectorAll('table').forEach(n => {
n.classList.toggle('hidden', [...n.tBodies].every(m => !m.rows.length));
});