I am trying to create an application that will send out style-heavy emails and have required clients working except Google’s Gmail. I researched the issue and it looks like Gmail strips out CSS from external files or CSS nested in the ‘style’ tag. Does an easy way exist of moving style from an external file [...]
I am trying to create an application that will send out style-heavy emails and have required clients working except Google’s Gmail. I researched the issue and it looks like Gmail strips out CSS from external files or CSS nested in the ‘style’ tag. Does an easy way exist of moving style from an external file to being inline?
Something that will take:
<style>
.wide { width: 100px; }
.cell { display: block; }
</style>
<span class="wide cell">Sample</span>
And convert it to:
<div class="wide cell" style="width: 100px; display: block;">Sample</div>
Thanks!
Related posts:
- Gmail hides external e-mail images, even after user allows them
- Gmail hides external e-mail images, even after user allows them
- Rails attachments inline are not shown correctly in gmail
- A gap added in Gmail, inside a html signature from outlook
- placement of facebook like and google + buttons inline?
Comments on this entry (no comments)
Did you like this post? You can share your opinion with us! Simply click here.