CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very usefull when you're sending emails.
PHP CssToInlineStyles is a class to convert HTML into HTML with inline styles.
PHP CssToInlineStyles is BSD licensed.
The class is well documented inline. If you use a decent IDE you'll see that each method is documented with PHPDoc. More documentation can be found on http://classes.verkoyen.eu/css_to_inline_styles/docs.