Img tag padding help

I been trying and failing to get some padding or margin to stick inside the imgsrc tag. Anyone got any tips.?

Mathew Mathew, 5 years ago

Could you give us some more details (perhaps link to an example) of what you mean? Is it happening with a certain email client perhaps?


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
Krazza, 5 years ago

Well was hoping you would give me an example...haha...just a basic question how do you insert some style atbs into the img tag used by the CM editor?

roshodgekiss roshodgekiss, 5 years ago

Hi Krazza, you mean like:

<img src="<$imagesrc link='true' default='image.jpg'$>" style="margin: 0; padding: 0;" />

As Mat touched on above, not all email clients provide reliable margin or padding support. By all means we're happy to take a look at your template and make suggestions if you're still having issues with maintaining margins or padding.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098