Help

Re: How to center image in email automation

Solved
Jump to Solution
1760 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Leslie_Burke
6 - Interface Innovator
6 - Interface Innovator

I need to center the logo image of my client in the body of an email. How do I do that?  (Don't worry - I'm not using an image in an attachment field. )

This is what I currently have, but the image is not actually centered. Can anyone help?

<div style="text-align: center;">

<img width="400" src="https://static1.squarespace.com/static/myimageurl.jpg">

</div>

1 Solution

Accepted Solutions
TheTimeSavingCo
18 - Pluto
18 - Pluto

Hm, could you try removing the linebreaks so it looks like this? 

<div style="text-align: center;"><img width="400" src="https://static1.squarespace.com/static/myimageurl.jpg"></div>

That appears to work when I test it

Screenshot 2023-02-01 at 3.06.16 PM.png

See Solution in Thread

2 Replies 2
TheTimeSavingCo
18 - Pluto
18 - Pluto

Hm, could you try removing the linebreaks so it looks like this? 

<div style="text-align: center;"><img width="400" src="https://static1.squarespace.com/static/myimageurl.jpg"></div>

That appears to work when I test it

Screenshot 2023-02-01 at 3.06.16 PM.png

Leslie_Burke
6 - Interface Innovator
6 - Interface Innovator

Thanks @TheTimeSavingCo! That worked like a charm. 😊