At first:
I hate Outlook :)
That's why:
I'm trying to send an email with the following structure (this is just a simplified example, so please don't tell me "Just get rid of the middle td s")
<table width="400"> <tbody> <tr> <td width="200"><img src="http://lorempixel.com/200/200/"></td> <td width="0"></td> <td width="0"></td> <td width="200"><img src="http://lorempixel.com/200/200/"></td> </tr> </tbody> </table>
The problem is that two td in the middle lead to a space between the two pictures, as you can see in this screenshot http://i48.tinypic.com/6i8rvk.png
I feel like I've already tried my best.
- cellpadding = 0, cellspacing = 0, border = 0 on the table
- setting the width of each td using inline css
- adding border-collapse: collapse to all tds and table
- field addition: 0, filling: 0; border 0; for all tds inline css
- setting font size and line height to 0 in css line
Nothing succeeded.
Side notes:
If there is only one empty table cell in the middle, the rendering is fine. Thus, it seems that each td takes into account only half a pixel.This is already a simplified example, and I cannot change the structure of the table, which means that I have to find a workaround for rendering problems, and not fix a rather obscene coding style, unfortunately.
Testing
Here is my test environment - feel free to play with it: http://putsmail.com/d58ffa01c4b3e29123baab00754716
Horen
source share