Images - border not appearing | Community
Skip to main content
Feb 21, 2018 7:30 PM UTC
Solved

Images - border not appearing

Hi all,

Has anyone experienced adding a border to an image within an email but not seeing a border in the final email?

I'm adding a border, see it in preview, but when I send a test message there is no border visible.

Anyone know of a workaround?  Or how to add a border in the code?

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Dan_Stevens_
Dan_Stevens_Accepted solution
Level 10
Feb 21, 2018 9:03 PM UTC

This approach is deprecated (as is hspace, vspace and align) and you should instead use CSS style attributes to apply your border.  For example:

<img src="http://pages.contractlogix.com/rs/793-PDR-116/images/onboarding-cover.JPG" alt="onboarding-cover.JPG" height="310" width="234" style="border:5px;" />

3 replies

Grégoire_Miche2
Level 10
Feb 21, 2018 8:18 PM UTC

HI Lisa,

It depends on the devices.

Paste your code, otherwise, it's hard ot help you.

-Greg

Translate
Feb 21, 2018 8:22 PM UTC

<img src="pages.contractlogix.com/rs/793-PDR-116/images/onboarding-cover.JPG" alt="onboarding-cover.JPG" height="310" width="234" align="right" hspace="10" vspace="10" border="5" constrain="true" imagepreview="false" />

Translate
Dan_Stevens_
Dan_Stevens_Accepted solution
Level 10
Feb 21, 2018 9:03 PM UTC

This approach is deprecated (as is hspace, vspace and align) and you should instead use CSS style attributes to apply your border.  For example:

<img src="http://pages.contractlogix.com/rs/793-PDR-116/images/onboarding-cover.JPG" alt="onboarding-cover.JPG" height="310" width="234" style="border:5px;" />
Translate