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.

 
   
Image not aligning with text in outlook 03,07 & 10

anders.gabrielsen

Newbie
Total Posts:  2
Posted: 21 March 2013 08:59 AM

I am having trouble aligning a logo with the text. Both are placed in the same table cell like this:

<td valign="middle" width="600" height="34">
  <
span>
    
Monday 18.03 2013 Week 11
  
</span>
  <
span>
    <
img src="logo.png" align="right">
  </
span>
</
td

How can i align the image with the text?
The miss alignment is shown in the attached image.


 

Geoff Phillips

Avatar
Moderator
Total Posts:  386
Posted: 21 March 2013 03:15 PM
[ # 1 ]

Anders,
The valign property doesn’t work perfectly, especially when combining text and images. You may want to put each of these items in its own td, which will make centering both of them a lot easier. If that doesn’t work for you, can you attach a .txt file with your code so I can take a look at the full email?


 

anders.gabrielsen

Newbie
Total Posts:  2
Posted: 21 March 2013 03:18 PM
[ # 2 ]

Thank you for your answer, this worked!