I am looking to rearrange the layout of my book listings so that the price is positioned below the title rather than beneath the book images.
Current Appearance: https://i.sstatic.net/xRUdM.png
search.html:
.resultContainer {
width: 100%;
position: relative;
left: 0;
margin-top: 30px;
margin-bottom: 20px;
padding: 10px;
border-bottom: black solid 1px;
}
.bookImage,
.bookTitle {
margin-left: 20px;
}
<div class="resultContainer">
<div style="display: inline;">
<img class="bookImage" src=" https://marketplace.canva.com/MAB___U-clw/1/0/thumbnail_large/canva-yellow-lemon-children-book-cover-MAB___U-clw.jpg" alt=" book.title " width="120" height="160">
<span class="bookTitle">
Title Here<br/>
<span class="bookPrice">
Price Here
</span>
</span>
</div>
<div class="bookTitle"></div>
</div>