SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Enthusiast icky_thump's Avatar
    Join Date
    Nov 2007
    Location
    St. Louis, MO, USA
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    html email spacing collapses in Outlook 2007 +

    Hi all,

    I'm beating my head against the wall on this one.
    I've recode our HTML/marketing email template every year and always get it to work. The latest iteration works fine everywhere except Outlook 2007 and beyond (of course). I can't figure out what to do do fix it.

    You can see it here
    The buttons down the left column are the issue. In Outlook 2007+, those buttons collapse down to where they butt up against each other. I can't make them stop it.

    Any suggestions?
    Greatly appreciate any feedback, I've tried a bunch of stuff and am just stumped.
    Pandora can't go back into the box - he only comes out.

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,317
    Mentioned
    460 Post(s)
    Tagged
    8 Thread(s)
    Have you tried just giving those table cells a height?

  3. #3
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,197
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    One thing I would suggest is you use a valid <!DOCTYPE> such as XHTML 1.0 or HTML 4.01 Transitions just so everything uses a fairly consistent method for rendering the email, I would also recommend you review your code as I can see some room for improvement that would make it easier to maintain.

    EDIT: Also while I think about it make sure you always give <img> elements a block level style as it removes the native margin that Lotus Notes and Outlooks gives them when it renders the HTML.

  4. #4
    SitePoint Enthusiast icky_thump's Avatar
    Join Date
    Nov 2007
    Location
    St. Louis, MO, USA
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ralph, Chris, thank you both! that worked it out.
    Pandora can't go back into the box - he only comes out.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •