Implementing CSS

CSS might sound scary but it’s really not, and once you get your head around how it’s written, you will be applying CSS classes in no time!

In-line Styles

In-line Styles

Currently we recommend applying styles to your email content by using inline font tags, an example of one is shown above.

What does this code do?

This tag applies a font face, colour, and size to the content that is between the opening, and closing font tag.

Writing styles using CSS is slightly different, you would put the bulk of your formatting code at the top of the email between the two <style> tags.

CSS Classes

CSS Classes

Using the same attributes as in the in-line font tag, you would write your CSS class as shown above.

You then need to apply the ‘class name’ to the email content you want to have this particular stying.

Structuring CSS

Structuring CSS

Your CSS should be structured as depicted above