Do Snippets inherit CSS from the email it's in?

Anonymous
Not applicable

Do Snippets inherit CSS from the email it's in?

Hi. I've created Snippets for my headers and footers, but it appears that the styling isn't working right for all emails - i.e. the headers look fine in one email and images are HUGE in another email (which uses different CSS). I've applied the correct styling to the image in the Snippet itself, but it appears that the email is ignoring this styling.

Does anyone know whether the styling of a Snippet is inherited by the email where it's used?

1 REPLY 1

Re: Do Snippets inherit CSS from the email it's in?

'pends on the styles and rules you're using. You're not going to have styles stripped out from a snippet, but if the surrounding email uses !important or (where supported) <style> tags, you can have styles overridden by the nature of the CSS cascade.