Domanda

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

È stato utile?

Soluzione

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

Altri suggerimenti

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.

this is the most recommended way with an external link of CSS folder.

you can also combine CSS in HTML by using inline CSS. To do this, add your CSS code directly to the HTML elements that you want to style. For example: My Website

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top