Our CRM allows us to send automated emails to our customers using our software. Things like purchase receipts, etc. Although they offer HTML editing of emails, they are very limited and we cannot use any CSS.
As far as their style guide allows, it seems that all HTML and some inline styles, for example:
<span style="color:#ffffff">white</span> <div style="color:#ffffff"> <img src="dickbutt.gif" style="width:30px;height:20px">
... everything is in accordance with the manual. However, no other CSS or CSS links are allowed, including:
<link rel="stylesheet" href="/stylesheet.css" type="text/css">
or
<style type="text/css"> @import "/stylesheet.css"; </style>
or
<style type="text/css"> body { color:green; } </style>
To add insult to injury, and I had to include this above, everything above the <body> (and including the body tag itself) is deleted when the file is saved in its built-in HTML editor. They have automatic code modification scripts that refer to the "approved" code in their style guide and delete any remaining code. So what have I left? Not at all. Mostly from opening <table> to closing </table> . They even highlight </body> and </html> .
With the rest of the code, I cannot use @media at all or allow any <td> styling. So, are they alternative ways to link to a stylesheet that you know about? ... a method that allows stacking without access to CSS? I am basically looking for a way for these letters to respond to the limitations described above.
I uploaded the style guide in JSfiddle: https://jsfiddle.net/Lxfqus7f
source share