I have an CSS style in an external file and the element refers to a the style using the ‘class’ attribute.
However, I can’t seem to get the styling.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Email is notorious for being difficult to style in multiple clients.
For this reason, inline styles and tables are the norm for email templates.
As for loading an external asset, a lot of email clients won’t do this for privacy reasons, to prevent the sender from determining if the email has been read by attaching a unique identifier to the URL.
Example
The system then checks the nonce against who it maps to, and can tell who is receiving/reading the email.
This is very useful for spammers.