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
Comments
Post a Comment