I am trying to make a html email, it works in all browsers except outlook.
I have created two rows on a table, with each row has an image, but there is a white space showing between the image.
<td colspan="2"><img style="display:block" src="images/greenTop02.gif" width="595" height="8" /></td>
Full html code : http://jsfiddle.net/eNKxp/2/
Set the height of your
<td>
's the same as the height of your image. In the image tag, include this:style="margin: 0; border: 0; padding: 0; display: block;"
Note that these gaps are unavoidable when someone from outlook forwards your email to someone else. I'd suggest combining your images, or better still, separating the text from the images as it will be unreadable by default in most clients.
Here is an example. This will also prevent separation in Outlook as the image is vertically sliced:
Add table td { border-collapse:collapse;} to your head and declare all your tables like this:
Try this conditional CSS: