一些网络邮件客户端会截断内联样式中的空格。例如这段代码
style="display: inline; float:right; font-size:16px;
呈现为
style="display:inline;float:right;font-size:16px;
在这一点上它不疼。但是当我添加一些背景样式时,我的布局崩溃了:
起源:
background:#ff6600 url('http://localhost:8080/path/to/img.png') no-repeat top right;
呈现:
background:#ff6600url('http://localhost:8080/path/to/img.png')no-repeattopright;
你有什么想法如何避免这种行为?也许像“ ”这样的东西 ?
干杯,梅奥