本文介绍了CSS样式在Outlook 2010中不会工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在外观中使用样式,它不会工作。

If I use styling in my outlook, it won't work.

如何解决?我在说这个样式代码:

how can I fix it? I am talking about this style code:

<div id="BodyID" Style=" word-spacing:2px;  min-width:0px; min-height:0px;max-width:693px; max-height:490px;  height:485px; background-color:#f4f4f4; border:1px solid #e4e4e4; font-family:Arial;">


推荐答案

这是真的可怕。以下是有关,我不认为Outlook 2010有太大变化。

Unfortunately Outlook supports something roughly equivalent to IE5 compatible HTML. It's really terrible. Here's a detailed MSDN article on the Word 2007 HTML and CSS Rendering Capabilities in Outlook 2007, which I don't believe changed much for Outlook 2010.

老实说,我唯一能够得到outlook HTML看看我想要的是手工生成的HTML使用粗略的HTML2标准标签和属性,而不是使用CSS。有些CSS呈现,但它真的命中或错过。

Honestly, the only way I've been able to get outlook HTML to look the way I want is to hand generate the HTML using roughly HTML2 standard tags and properties and not using CSS at all. Some CSS renders, but it's really hit or miss.

这篇关于CSS样式在Outlook 2010中不会工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 18:45