简体   繁体   English

Evolution电子邮件客户端中的CSS支持

[英]CSS support in the Evolution e-mail client

This question may be more appropriate for another SE site, if so apologies. 如果这样的道歉,这个问题可能更适合另一个SE网站。 Basically we are writing an HTML email template. 基本上我们正在编写HTML电子邮件模板。 It's just a simple table layout with some td styling and text styling ( a 's, b 's and span 's). 它只是一个简单的表格布局,带有一些td样式和文本样式( a ,s, bspan )。 All CSS is inline. 所有CSS都是内联的。

The background styles to the td's are rendered fine. td的背景样式很好。 But all text styling CSS seems to be completely ignored in Evolution. 但所有文本样式CSS似乎在Evolution中完全被忽略。 I've even tried the old-school: 我甚至尝试过老派:

<font color="red">blah</font>

But to no avail. 但无济于事。 Is it possible to style text for the Evolution e-mail client ? 是否可以为Evolution电子邮件客户端设置文本样式?

Thanks 谢谢

Richard. 理查德。

Seems like it does not support CSS at all: 好像它根本不支持CSS:

If an HTML mail is not correctly displayed in Evolution it might be that the formatting is specified as CSS. 如果在Evolution中未正确显示HTML邮件,则可能是格式设置为CSS。 CSS is currently not supported by gtkhtml (the part that Evolution uses to display HTML). gtkhtml目前不支持CSS(Evolution用于显示HTML的部分)。 This will likely be fixed in version 3.2 when Evolution will use WebKit instead of gtkhtml. 当Evolution将使用WebKit而不是gtkhtml时,这可能会在版本3.2中得到修复。

http://live.gnome.org/Evolution/FAQ#Why_does_Evolution_not_correctly_display_some_HTML_emails.3F http://live.gnome.org/Evolution/FAQ#Why_does_Evolution_not_correctly_display_some_HTML_emails.3F

Also, it seems that the market share of Evolution is somewhere below 1%. 此外,似乎Evolution的市场份额低于1%。

It IS possible to style text for Evolution! 可以为Evolution设置文本样式!

I used Evolution for a while (and it sucks), and i succeeded to create a signature for my emails. 我使用了Evolution一段时间(它很糟糕),我成功地为我的电子邮件创建了一个签名。

I don't exactly remember how i did it, but i do recall i had to write HTML 4.01 Transitional. 我不记得我是怎么做到的,但我记得我必须写HTML 4.01 Transitional。 At the time, i investigated and experimented a little, and it seemed that HTML 4.01 Transitional had the best support and most uniform appearance across the email clients. 当时,我进行了一些调查和实验,似乎HTML 4.01 Transitional在电子邮件客户端中拥有最佳支持和最统一的外观。

Unfortunately (for you) i stopped using Evolution a few months ago and i don't have the code anymore. 不幸的是(对你而言)几个月前我停止使用Evolution,我不再拥有代码了。 Sorry. 抱歉。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM