Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>Table</title>
</head>
<body>
  <table class="table">
    <thead>
      <tr>
        <th>School</th>
        <th>Class</th>
        <th>Student</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td rowspan="5" class="bottom-side"></td>
        <td rowspan="2"></td>
        <td></td>
      </tr>
      <tr>
        <td></td>
      </tr>
      <tr>
        <td rowspan="3" class="bottom-side"></td>
        <td></td>
      </tr>
      <tr>
        <td></td>
      </tr>
      <tr>
        <td></td>
      </tr>
    </tbody>
    
  </table>
</body>
</html>
 
table, th, td {
  border: 1px solid #cccccc;
  height: 1rem;
}
table {
  border-spacing: 0;
  table-layout: fixed;
  width: 100%;
}
th, td {
  padding: 5px 10px;
  border-top-width: 0;
  border-left-width: 0;
}
th:last-child,
td:last-child {
  border-right-width: 0;
}
tr:last-child td, .bottom-side {
  border-bottom-width: 0;
}
th {
  text-align: left;
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers