Give help. Get help.

  • # February 11, 2013 at 5:27 am

    Is it absolutely essential to use tables? Can divs not be used? And If I have to use inline styling (I’ve been told that I cannot use style sheets and resets), how do I take care of default spacing?

    And what if I just create an outer table container and then code the inner html using divs?

    Can someone post a basic emailer code?(only html)

    # February 11, 2013 at 6:55 am

    **1.** `

    ` elements should NEVER be used in HTML emails, they break in pretty much all email clients

    **2.** You can use reset CSS as it works for newer email clients and also can supply fixes for email clients that support them

    **3.** You can only use `

    ` elements as per my first point

    See the following link which is a basic boilerplate for HTML emails, it contains reset CSS to fix cross email client bugs.

    _Also some tips from my experience in building advanced HTML emails._

    **-** Always avoid `` tags, they are very inconsistent and cause more issues than solving them

    **-** When using `` tags always add `style=”display: block;”` as it will remove the default spacing

    **-** Always declare `font-family`, `font-size`, `color` etc. inline on specific elements and not on the parent, some email clients don’t respect the parent inline styles

    **-** Always remember to set the `border=”0″` attribute on `` tags that are wrapped by an `` tag

    **-** Try to avoid using too many `rowspan` and `colspan` attributes, some email clients have issues when rendering them

    You can find heaps more information at Campaign Monitor.

    # February 11, 2013 at 7:15 am

    I use [Mailchimp]( “Mailchimp”) and they have lots of templates use can download to use for examples.

    # February 11, 2013 at 11:31 am

    I spent a year building weekly and bi-weekly emails across 7 brands for a Fortune 200 company with each one going to between 2 and 7 million subscribers. Here’s what I can tell you:

    1)Yes, you have to use tables. It’s the only way to get a consistant display across several different mail clients.

    2) You can you some embedded styles in the header, but inline will be most of what you get to use.

    3) Get used to nesting. The more complex the layout, the more you’ll have to do it.

    4) Microsoft will be the bane of your existence. This will look great in every client except specific versions of outlook, and there’s often little rhyme or reason to it.

    5) This is not a plug, but Litmus is a great tool to preview your content in almost every mail client at once. It can save you a lot of time and is great for testing. I’ve used several others, I like Litmus the best.

    # February 13, 2013 at 3:02 am

    Solid lists. I just wanted to mention that most of these tags work great for craigslist ads too – so you’ll have that under your belt as well.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.