Cursed Vertical Alignment on HTML Emails

Discussion in 'HTML & Website Design' started by freeagentsmith, Aug 30, 2011.

  1. #1
    I'm trying to put together an email newsletter and everything is going swimmingly with the exception of the vertical alignment of the thing... So I'm throwing myself on the mercy of you good people.

    I'm driving it from a prestashop module which strips the head text out (so no adjusting CSS in there) and it's being sent to Gmail.

    I've tried putting height attributes on tables and cells. I've tried running valign on table and cell to no avail.

    Are there any other options out there, is there anything missing that I should be doing.

    Any help will be appreciated as I'm tearing my hair out over here.

    Thank you in advance
     
    freeagentsmith, Aug 30, 2011 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    First, it depends on the email program the email is being viewed in. Some follow all the rules, some mess up some rules, some show HTML as the text it is, tags included. Gmail is just an SMTP server - it doesn't care (for the most part) what's in the content.

    Second, make sure that all your users accept HTML email, or give them an option to get your newsletter in plain text. My spam filter, for example, dumps anything with HTML tags - I don't get any email I'd be interested in reading from anyone who sends me HTML emails.

    Then, if you're having a problem in a specific email reader, address that problem. If the problem is the reader, don't "fix" it. It's like changing a tire on your car because your neighbor has a flat.
     
    Rukbat, Aug 31, 2011 IP
    freeagentsmith likes this.
  3. freeagentsmith

    freeagentsmith Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi Rukbat, thanks very much for those answers, I really appreciate it.

    I have read this elsewhere as well, I was hoping to create a universal email experience as possible across all of the main email readers at the very least.


    This is a good point, I will be sure to include a plain text version of the email.


    Thanks again Rukbat for that answer.


    I'm sorry to everybody for spamming the email board with questions on HTML in emails. I'll keep it to one thread per issue in future.
     
    freeagentsmith, Aug 31, 2011 IP