.NET外部CSS转换为内联CSS [英] .NET convert external CSS to inline CSS
本文介绍了.NET外部CSS转换为内联CSS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在寻找外部CSS转换为内联CSS的工具。生成的HTML被用于电子邮件和PDF创建。
I'm looking for a tool that converts external CSS to inline CSS. The resulting HTML is used in e-mail and for PDF creation.
推荐答案
premailer.Net应该做它用C#编写的伎俩
Premailer.Net should do the trick it's written in C#
C#.NET库,应该使样式表内联样式 属性,实现最大兼容的电子邮件客户端。
C# .Net library, that moves your stylesheets to inline style attributes, for maximum compatibility with E-mail clients.
下面是混帐回购协议: https://github.com/milkshakesoftware/$p$pMailer.Net :
Here is the Git repo: https://github.com/milkshakesoftware/PreMailer.Net:
这篇关于.NET外部CSS转换为内联CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文