Unwanted space in Outlook

Hi,

I've got this simple setup, however, Outlook Express keeps on adding some weird space to the right of my images as you'll see here. I want the image to float all the way to the right - it displays just fine in Gmail and Apple Mail.

http://lyf.dk/u/cm-mailproblem.png

I've tried nesting tables, writing on one-line and what not. Can't figure what I'm missing. I hope you can :-) Every parent-table has cellpadding and cellspacing set to 0 and no css padding or margin is set except what you see in the code. Removing the p and h2 tags has no effect.

One idea I do have is that it's got something to do with nested aligns on table, td and img-tags?

<td width="605" align="left">
                        <repeater toc='true'>
                            <table width="590" cellpadding="0" cellspacing="0" border="0" style="background: yellow; margin-left: 5px;">
                                <tr>
                                    <td>
                                        <img src="<$imagesrc link='true'$>" alt="" width="590" align="right" /><h2><$title link='true' default='header here'$></h2><$description default='<p>text</p>'$>
                                    </td>
                                </tr>
                            </table>               
                        </repeater>                        
                    </td>
deko, 7 years ago

Could this be another style="display:block;" issue?
Try adding that to the image.

Oskar Oskar, 7 years ago
deko :

Could this be another style="display:block;" issue?
Try adding that to the image.

Aw, that sounded like a perfect solution. Didn't work tho, but thanks. Tried valigning the td to top as well.

But now I've discovered that I'm able to see the problem in IE7 as well. Hm hm.

deko, 7 years ago

Split that <td> into two and constrain the image one...

<tr>
  <td><h2><$title link='true' default='header here'$></h2><$description default='<p>text</p>'$></td>
  <td width="590"><img src="<$imagesrc link='true'$>" alt="" width="590"/></td>
</tr>

If need be give the first one containing the h2 a width too. Everything is possible with tables :)

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