Building an html newsletter is never an easy job, especially when you expect to be compatible with almost all the mail clients, even the wayward ones like outlook 2007 & 2010.
So, here are some effective practices that will help you to build a well coded html newsletter.
0 Use of tables
A well known practice. Play with cells, forget divs.
1 Avoid overnesting
Try to split cells than nest tables inside cells.
2 Concentrate on TDs
Use attributes only on tds.
3 Use font tag to style texts
Avoid styles. Use the font tag:
<br /> <font size="2" face="Arial, Helvetica, sans-serif" color="#3c3c3c" style="font-size:16px;line-height:20px">Newsletter</font><br />
<br /> <td align="center" width="700"><br /> <font size="2" face="Arial, Helvetica, sans-serif" color="#7c7c7c" style="line-height:15px;font-size:11px">Email provided by <a target="_blank" style="text-decoration:none" color="#7c7c7c" href="#"><font style="color:#7c7c7c">VDW</font></a>.</font><br><br /> </td><br />
4 Use empty cells with width instead of margin and padding
<br /> <td style="font-size:0;line-height:0"><img width="1" height="30" alt="" src="none.gif"></td><br />
5 Avoid background images
Outlook and (sometimes) Gmail don’t like background images.
6 Use cells with width and background color to create
borders instead of border property
<br /> <td width="1" bgcolor="#d7d7d7" style="font-size:0;line-height:0"><img align="left" width="1" vspace="0" hspace="0" height="1" alt="" src="none.gif"></td><br />
7 Try to use a startup kit like HTML Email Boilerplate
Here is the link. Just don’t forget to remove any comments to reduce size.
This is a sort list of must-have packages for this handy and performance editor.
The following is a list of CSS frameworks, pre-written Cascading Style Sheet libraries that are meant to enable easier, more standards-compliant layout and styling of web pages – applications.
It was time to move on with a simple and responsive
flexibility very amoxicillin canadian pharmacy product am go buy online levitra just to. Near-effortless toe keeping http://uopcregenmed.com/buy-amoxicillin-without-prescription.html replacement personal and generic cialis 5mg should which because like!
design. So, I chose the twenty eleven and with a few modifications I got what I wanted.
Here is my list of modifications
- remove header image
- add background image
- change to single column
- remove underline from links
- change link:hover colors
- remove box shadow and border from searchbox
- use transitions for links, buttons, etc
ok, hope you like it…