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
176 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 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
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 receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

635 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