When working on my website with Bootstrap, I ran into an issue with aligning a text to the left side of the header and an image to the right side. I attempted to use a row container along with justify-content-end, but they did not line up at the same height as the header. My goal is to have both elements aligned at the same height.
This is what I tried:
<div class="card" style="margin-bottom: 25px;">
<div class="card-header">
<h4 class="card-title Anton"><?php echo($thread['title']); ?>
<span class="row justify-content-end">
<img height="32" width="32" src="assets/img/edit.png" href="/test" style="padding: none; margin: none;">
</span>
</h4>
<hr />
...
However, the result looked like this: The Image is more on the bottom than the header!