I'm trying to place the text at the same line as the pagination's buttons.
As you can see in the code below, I've tried putting the text into a <span>
element, rising the height of the span, and/or using the setting the vertical-align: middle;
with no luck.
<div class="row">
<div class="col-md-2">
<nav aria-label="Page navigation">
<ul class="pagination">
<li>
<a href="#" aria-label="Previous">
<span aria-hidden="true">«</span>
</a>
</li>
<li><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li>
<a href="#" aria-label="Next">
<span aria-hidden="true">»</span>
</a>
</li>
</ul>
</nav>
</div>
<div class="col-md-1" style ="vertical-align: middle;">
<span style="height: 70px; display: block;">
10 of 137 items
</span>
</div>
</div>
Thanks for helping