html - Any way to transform a block style/CSS to inline CSS? -


i'm writing html/css email template triggered gmail , other mails. however, gmail not load <style> blocks, have use inline 'style' attribute make work.

to illustrate problem:

<style>     .center {         text-align:center;     } </style> <a class="center"> text </a> 

transform to:

<a class="center" style="text-align:center;"> text </a> 

does here know better way or program doing it?

there web app designed job.

converts css rules inline style attributes

https://inlinestyler.torchbox.com/


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -