Skip to main content
August 28, 2013
Question

Marketo moves css to the Head

  • August 28, 2013
  • 1 reply
  • 550 views
It is usually considered best practice to put any css that can't be inlined (eg. media queries, hover states etc.) into a style block inside the body tag. This is because some webmail clients (mainly Gmail) strip the everything from the head.

I just discovered that Marketo moves any style blocks within a body of an email into the Head. 

Has anyone noticed this before? any ideas for a workaround?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

October 19, 2013
Hi Christian,

This chart does a really good job at defining css support per email client. As you can see, nearly all the major email clients now support css styles being located in the head of your html. As far as Gmail is concerned, it actually strips css from the body as well as the head, so the location of the css doesn't matter. For now, it looks like were stuck with just inline styles when it comes to gmail.