Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7980699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:09:19+00:00 2026-06-04T10:09:19+00:00

I understand that HTML emails need to use really old school layouts – as

  • 0

I understand that HTML emails need to use really old school layouts – as per lots of other answers on SO (e.g. HTML email: tables or divs?, HTML Email using CSS).

However, there seems to be some debate over whether it’s still a good idea to use spacer gifs in email.

For example, compare these three layouts:

DIMENSIONS:

<table cellpadding="0" cellspacing="0" border="0" width="100">
  <tr>
    <td width="100" height="10"></td>
  </tr>
</table>

WITH SPACER GIF:

<table cellpadding="0" cellspacing="0" border="0">
  <tr>
    <td><img src="spacer.gif" width="100" height="10"></td>
  </tr>
</table>

WITH SPACER GIF AND DIMENSIONS:

<table cellpadding="0" cellspacing="0" border="0" width="100">
  <tr>
    <td width="100" height="10"><img src="spacer.gif" width="100" height="10"></td>
  </tr>
</table>

How do I use them with dimensions? Are there any email clients that still require spacer gifs? Is there any harm done either way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T10:09:20+00:00Added an answer on June 4, 2026 at 10:09 am

    Personally, I never use spacer gifs, because they destroy the layout when image blocking is turned off, for three reasons:

    1. If they don’t render at all, any layout that requires the spacer image is lost.
    2. If they render incorrectly (such as reverting to their original size, or proportionally to their original size) they break the layout.
    3. Even if they do render properly and the layout works, all the image placeholders that are displayed when image blocking is turned on distract from the message of the email.

    To get around issue #2, you can save each image with its actual dimensions. However, this obviously increases:

    • Time to build
    • Number of images to be downloaded by client

    and it doesn’t solve issues #1 and #3.

    The reason for using spacer gifs is because some clients (Outlook 2007, Outlook 2010, Lotus Notes, Hotmail / Live Mail) will not render an empty cell. It’s very difficult to have absolute precision over dimensions of a text node, and so a spacer image suffices. However, even those clients mentioned will render an empty cell that has width defined.

    So as long as you’re defining pixel widths on any empty cells you are fine. To go back to the examples in the question:

    • Dimensions-only – works with and without image-blocking in all major email clients
    • Spacer images only – works only when image-blocking is turned off
    • Dimensions and spacer images – works only when image-blocking is turned off

    Because of this, you should use dimensions and not spacer gifs.

    Various articles talk about this question as well (search for ‘spacer images’ on the pages)

    • http://www.banane.com/workblog/?p=61
    • http://www.campaignmonitor.com/design-guidelines/
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I understand that according to the HTML specification, it's invalid to add custom attributes
When sending HTML e-mail, I understand that it's a best practice to send a
From web pages like this one, http://www.jsftutorials.net/components/step5.html I understand that the binding attribute in
I understand that we need to create MXML file to define a view. Suppose
I'm looking to create emails, mainly HTML, based on templates - I'd really like
I was wondering if I use colspan attribute in a HTML table that I
I don't really understand why this simple stuff won't work. I can see that
I understand that using custom html tags is improper for a variety of reasons,
I understand that Web Site Projects compile source on-the-fly, and Web Application Projects pre-compile
I understand that CoCreateInstance finds the COM server for the given class id, creates

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.