I'm trying to center an image inside an h1 tag and I'm missing something and don't know what it is
https://jsfiddle.net/jbzt38Le/5/ you can find a demo right over here but I will explain anyways
inside my html I have a div like this
<div>
<h1>
<span>Load clients:</span> <br/>
<span><img src="https://i.ibb.co/tMb04W4/ok.png" alt="logo"></span>
<span>Step 2: Ok </span>
</h1>
</div>
and over the css i manage to arrange the image size like this
div > h1 > span > img {
max-width: 10%;
height: auto;
}
But now, the image (or text) is not centered with the other. sadly I can't use flexbox because it's and email template and not all the providers are supporting flex at the moment :( What am I missing?
` tag appears intentional, which will of course interact in ways also. Maybe an example of what you want it to look like? – Chris W. Dec 23 '21 at 16:43