ArtG
Active member
Happy Holidays, all!
I want to do something that I think is simple but am confused about. Hoping some of the CSS experts can help me out here.
I'm trying to include our logo centered at the top of emails to users. I've placed the image on our server and link to it from the AdminCP. It comes through but it isn't scaling to the email client viewer size. It's too big.
In my html email, I have the following code:
What am I doing wrong?
Thanks!
I want to do something that I think is simple but am confused about. Hoping some of the CSS experts can help me out here.
I'm trying to include our logo centered at the top of emails to users. I've placed the image on our server and link to it from the AdminCP. It comes through but it isn't scaling to the email client viewer size. It's too big.
In my html email, I have the following code:
Code:
<div text-align: center; display: block; position: relative; margin: auto; max-width: 100%;>
<a href="https://scapecrunch.com"><img src="https://scapecrunch.com/assets/Email_Header.png" alt="ScapeCrunch"></a>
</div>
<p>
Hi {name},
</p>
<p>
This is just a test email to see if this works.
</p>
<p>
All the best,<br>
Art
</p>
What am I doing wrong?
Thanks!