HTML Email templates & CSS Referencing
- This topic has 1 reply, 2 voices, and was last updated 5 years, 3 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › Classic DFFS › HTML Email templates & CSS Referencing
Tagged: CSS, Html email template
If I have html in my email templates and I’m also autogenerating some of that html in a JS variable to use in the email templates. Would either be able to recognize an external css file I’m using in my custom css based on classes/IDs I provide, or do the email templates/JS variable only allow in-line styling?
Hi,
Most email clients should support embedding a <style> tag in the top of HTML body of your email, but I usually add the css inline (in each html element in a style=… tag) to make 100% sure it works as intended.
Alexander