outlook對於html的支持是有限制的,在編寫這些html的時候注意遵循如下規則:html
- Never use
colspans
or rowspans
.
- Always set correct dimensions for your tables and cells.
- Use spacer gifs rather than
&nbps;
.
- Always specify correct image sizes and never scale images up or down.
- Always add
style="display:block;"
to images.
- Avoid using
divs
.
- If you wish to colour links, put the styling on a span as a child inside the
a
tag.
- Don't use italics.
- Don't use BRs for layout, always use tables.
- Use BRs in Text, not Ps (to avoid stange margin problems and paragraphing being completely ignored).