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
169 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 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

772 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

10 Experts available now in Live!

Get 1:1 Help Now