Class Row with image

Asked

Viewed 46 times

0

I’m trying to put in a row three columns, where the first one will have an image and the others should have the text aligned below.

<div class="row" style="background-color: #ffffff">
  <div class="col-md-2"><img src="../images/1.jpg" /></div>
  <div class="col-md-8">Empresa</div>
  <div class="col-md-2" style="text-align: right; vertical-align: text-bottom">Usuário</div>
</div>

1 answer

1

You thought of using one table?

<div class="row" style="background-color: #ffffff">
  <table>
    <tr>
      <td><img width="100" src="http://www.rd.com/wp-content/uploads/sites/2/2016/04/09-vets-wont-tell-dog-plays-park.jpg" /></td>
      <td>Empresa</td>
      <td>Usuário</td>
    </tr>
  </table>
</div>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.