SnappySnippet
SnappySnippet copied to clipboard
Inline style
I'd like to include the HTML element in an email template, and to that the styles need to be set inline. It would be nice to have an option to make all the style information be put in "style" attribute of HTML nodes
Hi! This is a much simpler case than what SnappySnippet normally does. Check out this answer: http://stackoverflow.com/a/4925265/1143495 , it provides a simple script that inlines all CSS which seems to be exactly what you need. It doesn't however, in contrast to SnappySnippet, do any code optimization so the output will probably be huge. Maybe you are right and it makes sense to include such a functionality in SnappySnippet? I'll leave that ticket open for others to vote.
Yes please, include the inline feature! That way one can just copy and paste one piece of code in the HTML for easy testing it!
+1
+1
+1 Thank you.
+1