开发者

CSS Vertical Alignment in HTML emails

As we all know, most email clients don't support all CSS attributes. If I want to vertically align images and text, what's the most compatible means of doing so?

Right now, I'm doing:

<img style="position:relative;top:3px;" src="http:/开发者_如何学C/url.com/img.jpg" /> <span>Words and stuff</span>

This works in some clients, but not all (particularly Gmail). Any better suggestions?


I hate to say it, but <table>. CSS position is not supported well

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜