HTML-formatted email editing

Source: Internet
Author: User

This article is about how to edit an HTML-formatted email template and does not tell you how to send an email using a program.

1. The important idea of email: "Retro"

Abandon the modern DIV+CSS technology, return to the era of html4.0+table. Use CSS sparingly, and use the properties of the tag itself.

(1) Table is strictly used for both the whole and the local layout.

(2) CSS

    • Try to use the effect of the label itself to achieve the design results, such as:
    • Element background: Background-color All valid, background-image,position,repeat, invalid for outlook2007/10,live,gmail. So the non-pure repair use of the picture should not be used in the CSS background way.
    • Do not repeatedly define tag properties and CSS properties, such as:<td> 's Padding property (CSS) and Csllpadding properties, which are equally useful.
    • Do not define the value of a property in shorthand form. such as: Background:url () repeat #333;
    • Do not use shorthand 16 to define color, such as color: #333; To write: color: #333333;
    • CSS is written in the style of each tag and cannot be defined globally.

(3) Image

    • Image format:
    • Style= "display:block;" resolves a Hotmail fill.
    • Some do not support 8-bit or 24-bit PNG, use GIF and JPG as much as possible.

(4) Message width and center

Width <=600. Defines the width property for all cells.

(5) Define background color

Do not define body directly. Adds a background color to the outermost table.

(6) Links

(7) Template variables

(8) Other

    • When making templates, DTDs can use ancient HTML4.01 to limit the addition of modern elements.

<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML4.01 en//" "Http://www.w3.org/TR/html4/strict.dtd" >

2. Try to maintain a concise design style (layout, style): use less pictures.

3. Resource Links:

    • Mail template making navigation: Http://www.campaignmonitor.com/design-guidelines
    • Mail client available CSS Properties Daquan: Http://www.campaignmonitor.com/css

The address of the template can be downloaded:  http://www.webmax.com.cn/articles/articles_0120_3.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.