Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: ElasticUser on December 06, 2017, 06:56:08 PM

Title: CSS Signature
Post by: ElasticUser on December 06, 2017, 06:56:08 PM
I added the below css to my HTML signature, and when going to the direct page, I see the css div box and my css colors, but in the Email signatures, the css isn't being called.  Any suggestions?  :--)

If I send a copy to my Roundcube Email, then the CSS shows.  I want the CSS to show for all HTML Email accounts.  :--)

<style>
.HTML-SIGNATURES {
    width: 250px;
    color: #4169E1;
    font-family: "Arial", Verdana, Tahoma;
    background-color: #FFFFFF;
    border: 3px solid #422163;
    text-align: center;
    margin-left: auto ;
    margin-right: auto ;
    padding: 5px;
}
    a:link { color:#422163; }
    a:visited { color:#422163; }
    a:hover, a:focus { color:#422163; }
    a:active { color:#422163; }
</style>
Title: Re: CSS Signature
Post by: ElasticUser on December 11, 2017, 06:30:21 PM
Any answer for this one?  :--)
Title: Re: CSS Signature
Post by: SKaero on December 12, 2017, 03:17:38 AM
You can't use <style> blocks in emails. While html is supported in emails the feature is is very limited and varies from client to client.
Title: Re: CSS Signature
Post by: ElasticUser on December 12, 2017, 07:24:33 PM
If I went back to using a old fashioned table, would that be okay?  :--)
Title: Re: CSS Signature
Post by: SKaero on December 13, 2017, 11:41:49 AM
Tables suck but sadly are one of the only ways you can reliably do layout in html emails.
Title: Re: CSS Signature
Post by: ElasticUser on January 19, 2018, 11:30:54 AM
Okay, Thanks!  :--)