Author Topic: CSS Signature  (Read 3369 times)

Offline ElasticUser

  • Full Member
  • ***
  • Posts: 83
CSS Signature
« 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>
« Last Edit: December 07, 2017, 01:32:20 PM by ElasticUser »

Offline ElasticUser

  • Full Member
  • ***
  • Posts: 83
Re: CSS Signature
« Reply #1 on: December 11, 2017, 06:30:21 PM »
Any answer for this one?  :--)

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,878
    • SKaero - Custom Roundcube development
Re: CSS Signature
« Reply #2 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.

Offline ElasticUser

  • Full Member
  • ***
  • Posts: 83
Re: CSS Signature
« Reply #3 on: December 12, 2017, 07:24:33 PM »
If I went back to using a old fashioned table, would that be okay?  :--)

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,878
    • SKaero - Custom Roundcube development
Re: CSS Signature
« Reply #4 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.

Offline ElasticUser

  • Full Member
  • ***
  • Posts: 83
Re: CSS Signature
« Reply #5 on: January 19, 2018, 11:30:54 AM »
Okay, Thanks!  :--)