I want to center the image on the right vertically, so that it is centered between the two green titles, can somebody help me with this?
my CSS code:
.vorigejaren img {
width: 25%;
height: auto;
float: right;
}
.vorigejaren p {
display: inline;
}
My HTML code:
<div class="vorigejaren">
<img src="../fotos/leden/Praesidium/Groepsfoto_2022_aangepast.jpg" alt="foto">
<p><?php echo $jaar['leden']; ?></p>
</div>
I tried looking it up on the internet, but noru-yhing seemed to work...