Community Forum

Over the years we have built up a community of email marketers, coders and designers that live and breathe email.

Use the Email on Acid Forum like your virtual water cooler: Stop by to discuss email code, quirky clients and fixes and post your issues (with an example of the code) for our community to offer its assistance.

 
   
Alternative to Margin in Outlook

MarketVolt

Jr. Member
Total Posts:  37
Posted: 19 May 2016 05:39 AM

Can anyone give me an alternative to margin for outlook to pull just the text from it’s surroundings in this code?

<table width=“414” border=“0” align=“center” cellpadding=“0” cellspacing=“0” style=“border-collapse: collapse; background-color: #ffffff;” class=“table2”>
  <tbody>
      <tr>
        <td align=“left” border=“0” cellpadding=“0” cellspacing=“0” style=“width: 414px; background-color: #9cc0bd;” class=“stack”><figure style=“margin: 0px;”>https://images.marketvolt.com/Client/5457309_717272084.png<figcaption style=“margin: 8px;”><font face=“Geneva, Arial, Helvetica, sans-serif” color=”#FFFFFF” size=“2”>Place a caption here. Images above should be no wider than 414px.</font></figcaption>
        </figure></td>
      </tr>
  </tbody>
</table>


 

Geoff Phillips

Avatar
Sr. Member
Total Posts:  386
Posted: 19 May 2016 06:25 AM
[ # 1 ]

MarketVolt,
Is there a reason you can’t use margin? What Outlook are you trying to make this work in?


 

MarketVolt

Jr. Member
Total Posts:  37
Posted: 19 May 2016 06:28 AM
[ # 2 ]

Desktop version 2010. Image of email on acid rendering in 2010 attached.

Image Attachments
12345.jpg

 

Geoff Phillips

Avatar
Sr. Member
Total Posts:  386
Posted: 19 May 2016 06:43 AM
[ # 3 ]

MarketVolt,
Unfortunately I can’t recreate the issue with the code sample you gave. Can you attach your full HTML?


 

MarketVolt

Jr. Member
Total Posts:  37
Posted: 19 May 2016 06:57 AM
[ # 4 ]

Full code attached.

File Attachments
code.txt  (File Size: 12KB - Downloads: 153)