Table style border- outlook 2010 adds an extra space

15,653

Campaign monitor has a really great solution on how to solve this type of problem. Simple add this style code to your table elements. The code below solved my problem (same as OP) on Outlook 2010

<table align="left" style="border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;"> ... </table>

http://www.campaignmonitor.com/blog/post/3694/removing-spacing-from-around-tables-in-outlook-2007-and-2010

If that doesn't work, try this. http://www.emailonacid.com/blog/details/C13/removing_unwanted_spacing_or_gaps_between_tables_in_outlook_2007_2010

Share:
15,653
pitzki
Author by

pitzki

Updated on June 04, 2022

Comments

  • pitzki
    pitzki about 2 years

    I created an HTML for email marketing. I placed a table, and applied a border around it:

    <table border="0" cellspacing="0" cellpadding="0" style="border:1px solid #982676; margin:0 16px;">
    

    For some reason I am getting 1 pixel extra white space inside when I test it in OUTLOOK 2010. I see it around images that are aligned to the top and to the left, and I see it around other cells that have a solid background color.

    See image at this link:screenshot

    The top triangle is an image in a cell by itself. The bottom rectangle is a cell with a background color. These were supposes to stick to the border. This is a recurring problem. Has anyone encountered this issue before?