Aligning image elements vertically within a div Echoed from: https://www.tutorialrepublic.com/faq/how-to-vertically-align-an-image-inside-a-div-using-css.php You can align an image vertically center inside a <div> by using the CSS vertical-align property in combination with the display: table-cell; on the containing div element.