Merging CSS into html

15,678

Solution 1

Some email clients ignore <style> tags altogether, you'll need to inline the styles. This tool should help.

Solution 2

Use <style type="text/css"></style> in your header tag to merge the css and html into one file. Then paste your css in between the style tags.

Share:
15,678
zbyshekh
Author by

zbyshekh

just hangin'

Updated on June 06, 2022

Comments

  • zbyshekh
    zbyshekh almost 2 years

    I had to make mail template that looks good and I did. Sent from normal client it looks good, but if i'm sending it from system that I use it doesn't read CSS in head section at all. Is there a tool that can inteligently merge CSS into html? The file is quite huge and adding manually style to every would be long and hard