您的位置:首页 > Web前端 > HTML

编写基于outlook显示的html邮件需要注意的问题

2013-08-17 09:53 459 查看
outlook对于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).
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: