<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
   <title>testcase</title>
<style>
.tt {
   border-collapse: collapse;
}
.nix {
   display: none;
}
.ref {
   border: solid 3px darkred;
}

td {
   width: 20px;
   height: 20px;
}

</style>
</head>
<body>
  <table class="tt">
    <tr id="1"><td >&nbsp;</td></tr>
    <tr id="2" class="nix"><td >&nbsp;</td></tr>
    <tr id="3" class="ref"><td >&nbsp;</td></tr>
    <tr><td>&nbsp;</td></tr>
  </table>
</body>
</html>