Hello, I'm trying to align a text vertically, but the code is not working.
It is divided into 2 columns and the column with the image is larger the text is at the top
html:
<div class="col-md-12" id="id01">
<h3>Id01</h3>
<div class="row">
<div class="col-md-6 texto">
<p>
Texto alinha verticalmente
</p>
</div>
<div class="col-md-6">
<h4>texto h4</h4>
<img src="img/foto.jpeg" class="img-responsive img-circle">
</div>
</div>
</div>
css:
#id01 {
display: table;
}
#id01 .texto p {
display: table-cell;
vertical-align: middle;
}