Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
177 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

730 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