My goal involves two tasks: 1 - CENTER a Span within an Img; 2 - ALIGN the Span to the right of the main div
This is what I currently have -> https://i.sstatic.net/Yln15.png
The existing code is as follows:
<div class="row" style="text-align: right;">
<img src="thumbnails/americares.png" class="pl-2 pb-2">
<span class="price" style="display:inline-block;padding-bottom:5px;">$20</span>
</div>
The price class is defined like this:
<style>
.price{
padding-bottom: 15px;
color: #29303b;
font-size: 18px;
font-weight: 600;
margin-right: 10px;
}
</style>
I am looking to shift the price to this location -> https://i.sstatic.net/vOK2h.png