Community Forum

Over the years we have built up a community of email marketers, coders and designers that live and breathe email.

Use the Email on Acid Forum like your virtual water cooler: Stop by to discuss email code, quirky clients and fixes and post your issues (with an example of the code) for our community to offer its assistance.

 
   
What is the total character count allowed for Gmail to render media queries?

pnaonline

Jr. Member
Total Posts:  31
Posted: 26 October 2016 08:10 AM

What is the character count above the <body> tags for media queries to register with the Gmail update? I recall something under 9,000 from the Gmail presentation?

And is it between the <head></head> tags or is it everything above the the <body> tag including <meta> and <html> tags?


 

pnaonline

Jr. Member
Total Posts:  31
Posted: 26 October 2016 08:19 AM
[ # 1 ]

I see it was 8,192 from the demo, but just want to be sure that it’s counting only in the <style></style> tags?


 

Geoff Phillips

Avatar
Sr. Member
Total Posts:  386
Posted: 26 October 2016 09:11 AM
[ # 2 ]

pnaonline,
Thank you for posting!

Yes, I believe that only counts style tags. And they will only knock out the last one that goes over. So you may want to split up your styles among multiple style tags and put the ones that don’t matter for gmail at the bottom (like interactive code that doesn’t work in Gmail).


 

pnaonline

Jr. Member
Total Posts:  31
Posted: 26 October 2016 09:32 AM
[ # 3 ]

Right, okay thanks for clearing that up!