Roundcube Community Forum

 

CSS Signature

Started by ElasticUser, December 06, 2017, 06:56:08 PM

Previous topic - Next topic

ElasticUser

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>

ElasticUser

Any answer for this one?  :--)

SKaero

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.

ElasticUser

If I went back to using a old fashioned table, would that be okay?  :--)

SKaero

Tables suck but sadly are one of the only ways you can reliably do layout in html emails.

ElasticUser