table header on left side in Bootstrap?

If you want the headers down the left side of your table, simply write the markup differently

See this demo

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>

<table class="table">
  <tbody>
    <tr>
      <th>Row</th>
      <td>1</td>
      <td>2</td>
      <td>3</td>
    </tr>
    <tr>
      <th>First Name</th>
      <td>John</td>
      <td>Peter</td>
      <td>John</td>
    </tr>
    <tr>
      <th>Last Name</th>
      <td>Carter</td>
      <td>Parker</td>
      <td>Rambo</td>
    </tr>
    <tr>
      <th>Email</th>
      <td>johncarter@mail.com</td>
      <td>peterparker@mail.com</td>
      <td>johnrambo@mail.com</td>
    </tr>
  </tbody>
</table>

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)