Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS support in the Evolution e-mail client

This question may be more appropriate for another SE site, if so apologies. Basically we are writing an HTML email template. It's just a simple table layout with some td styling and text styling (a's, b's and span's). All CSS is inline.

The background styles to the td's are rendered fine. But all text styling CSS seems to be completely ignored in 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?

Thanks

Richard.

like image 568
Richard H Avatar asked Apr 06 '11 12:04

Richard H


People also ask

Is CSS supported in email?

The benefit of using inline CSS is that most email providers will support this style, which means you're likely to get the best results without running into any formatting trouble.

What is CSS for email?

Email development involves a combination of HTML and CSS, or Cascading Style Sheets. While HTML structures the content and layout of the email, CSS inlining in email is used to style and format the content—like including link colors and headline fonts.

Does Outlook email support CSS?

Outlook does not support CSS styles for widths and heights. If you don't include the width and height attributes, Outlook will display your image at its actual size. If you're using retina images (which you should be), this will lead to giant images that'll break your emails.

Does Mailchimp support CSS?

Mailchimp's Automatic CSS Inliner tool converts styles from your pasted code to inline and saves you from coding it by hand. In this article, you'll learn how to turn on the Automatic CSS Inliner in a Code Your Own template and which selectors are supported.


2 Answers

Seems like it does not support CSS at all:

If an HTML mail is not correctly displayed in Evolution it might be that the formatting is specified as CSS. CSS is currently not supported by gtkhtml (the part that Evolution uses to display HTML). This will likely be fixed in version 3.2 when Evolution will use WebKit instead of gtkhtml.

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%.

like image 200
kapa Avatar answered Oct 04 '22 19:10

kapa


It IS possible to style text for Evolution!

I used Evolution for a while (and it sucks), and i succeeded to create a signature for my emails.

I don't exactly remember how i did it, but i do recall i had to write 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.

Unfortunately (for you) i stopped using Evolution a few months ago and i don't have the code anymore. Sorry.

like image 21
Mente Binária Avatar answered Oct 04 '22 20:10

Mente Binária