Solved

Sending an email with images (HTML) on a free email account seems to space out the images, even though there should not be!

Posted on 2011-02-27
1
170 Views
Last Modified: 2012-08-13
Please see images to understand what I mean.

When I am sending with a recieving with a free email account, like hotmail, gmail, etc, when I position an image RIGHT below another image, they always seem to have a space between them. I can send the same email to a general email account (non free), and it works fine.

A simple test is sending this to a hotmail account:

<img src="http://img29.imageshack.us/img29/1986/image1kwq.png"><br><img src="http://img198.imageshack.us/img198/7645/image2dz.png">

And you'll get the space in between the images like I have, but only in a free style account.  The wierd thing is you can COMPOSE the message inside hotmail, and it looks fine, and then send it, and it gets ruined by the space. Am I missing something that hotmail/etc requires to remove those spaces in my HTML?

I'll attach an example, the left is the composing, the right is the result after its sent and I am viewing it. Maybe some CSS is required? etc?

Any suggestions?
example.png
0
Comment
Question by:Valleriani
1 Comment
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 34993802
This page http://www.campaignmonitor.com/css/ shows how varied the support for CSS is in different email clients.  In addition, Gmail, Yahoo, and Hotmail rewrite the email to protect the code that displays the page.  All you can do is try different things until something works on all of them.  But it can be frustrating.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
WordPress Themes 10 34
Change color of modular 8 22
CSS Logo Problem. 2 8
ASP.net Fit 3 divs on screen side by side 3 4
This article discusses four methods for overlaying images in a container on a web page
PHP contact form that lets the user to contact the company through email contact form. A button is fixed at the bottom of site, on clicking a new window will open where a user can send the email.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now