Link to home
Start Free TrialLog in
Avatar of sfun28
sfun28

asked on

Flatten css into html for email purposes

Folks,

I use basic html/css to construct a page that I want to email.  I've read in a number of places that email clients don't handle css very well.  Is there a way to flatten the css into the html to generate a pure html page that can be emailed?
ASKER CERTIFIED SOLUTION
Avatar of LZ1
LZ1
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sfun28
sfun28

ASKER

There's no tool that will take my existing CSS in <head><style>... and convert to html or in-line the css?
You can try this app:
http://premailer.dialect.ca/ 
Avatar of sfun28

ASKER

Thanks folks!  That premailer tool is exactly what I need.  I'll digest these comments and assign points tomorrow.
Any updates?
Avatar of sfun28

ASKER

Premailer looked promising, however its butchering my layout past a certain point in the file.  there's no logical reason for this because the layout is consistent across the file (I have like 5 tables, one after the other, each in their own <p>).

Anyways, I found this tool which seems to work great:
http://www.pelagodesign.com/sidecar/emogrifier/