Hello Kmayer21,
Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.
It's our understanding that this issue is caused due to Outlook not supporting "px" or setting these variables in the style attribute. The following workaround is suggested to bypass this display issue: Change the code so that it does not use the 'px' for the size and also has the height and width set individually.
In case it is helpful, I have also linked the following article which contains a List of supported HTML tags for Custom Code emails within the current Custom Code editor, as the old editor was retired since this thread was originally created.
Errors in a custom code email
https://knowledgebase.constantcontact.com/articles/KnowledgeBase/33242-Errors-in-a-Custom-Code-Email
If you have further questions regarding Custom Code emails, please feel free to reach out to Constant Contact's Support Team at 866-289-2101 and request to be connected with a Custom Code specialist. Your case number for reference is #31433001.
... View more