Question:
Is there a way to get around the padding that Gmail adds to HTML emails?
anonymous
2010-12-21 07:44:33 UTC
I code HTML emails for various clients and I am always running into this issue with Gmail. It's fine if the HTML email has no images, but when there are, Gmail always adds gaps between image slices.

Screenshot displaying an example (blue ribbon in top left):
http://i51.tinypic.com/1531df7.jpg

I have tried defining 0 margin and padding for the image and the table cell that encases it, but that doesn't work. Defining vertical align seems to do nothing. Table spacing/padding is also at 0. Someone once told me to remove all white space in the code, but that rarely solves the problem.

I don't design the emails--just code them. I've already sent several reminders to my designers about the limitations that HTML emails have and to be conscious of where they place design elements and text, but I would also like to get around this Gmail glitch too to save myself time and trouble.

Are there any solutions I could use?
Three answers:
anonymous
2010-12-21 17:15:38 UTC
How To Code HTML Email Newsletters (All New Version): http://www.reachcustomersonline.com/2010/01/23/09.27.00/

( Step 4: Code for GoogleMail, LotusNotes, and Outlook 2007: http://www.reachcustomersonline.com/2010/01/23/09.27.00/#step4 )



With this new email tool from Gmail you can create HTML formatted newsletters without knowing HTML: https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fui%3Dhtml%26zy%3Dl&bsv=1eic6yu9oa4y3&scc=1


20 Email Design Best Practices and Resources for Beginners: http://net.tutsplus.com/tutorials/html-css-techniques/20-email-design-best-practices-and-resources-for-beginners/



How to Code HTML Email Newsletters: http://articles.sitepoint.com/article/code-html-email-newsletters



How to Create and Send HTML Email: http://www.addme.com/newsletters/issue293.htm



How do you typically create HTML email?: http://webdesign.about.com/b/2008/10/02/poll-how-do-you-typically-create-html-email.htm



Email Standards Project works with email client developers and the design community to improve web standards support and accessibility in email: http://www.email-standards.org/



Ron
anonymous
2010-12-21 08:22:07 UTC
A large part of how an HTML email is going to look is the email program it's looked at in. Since HTML isn't specified (email specifies text), anything the server or client do to HTML is "legal".



You ARE using an email client to send the emails, right? Not trying to paste them into GMail's web interface?
anonymous
2016-11-06 01:25:43 UTC
No, no longer likely (yet i'm getting greater helpful) because of the fact interior the start if i enjoyed a individual's solutions i in basic terms clicked on their avatar and extra them as a sprint. it looked as though it might me that's what it became there for. i wasn't paranoid in any respect, i in basic terms extra and conventional. now i'm a sprint greater careful yet old behavior die difficult. i nevertheless discover all the privateness stuff a sprint tense because of the fact now you rather do no longer understand who you're asking. i in basic terms determine it relatively is a interest of types and if i'm getting suspended, i'm going to easily initiate yet another account. i do no longer take the element component very heavily nor do i thumb down or checklist. i in basic terms rejoice with speaking with like-minded people. i've got not even examine the regulations, yet i'm getting to understand. i care greater approximately some monkey wee-wee concentrated on my contacts than reporting me.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...