<!DOCTYPE html>
<table border="1">
<tr><td>There should be</td></tr>
<tr><td>no borders visible</td></tr>
</table>
<script>
onload = function() { document.querySelector("table").border = "0"; }
</script>