Emogrifier converts CSS styles into inline style attributes in your HTML code. This ensures proper display on email and mobile device readers that lack stylesheet support. This utility was developed as part of Intervals to deal with the problems posed by certain email clients (namely Outlook 2007 and GoogleMail) when it comes to the way they handle styling contained in HTML emails. As many web developers and designers already know, certain email clients are notorious for their lack of CSS support. While attempts are being made to develop common email standards, implementation is still a ways off. The primary problem with uncooperative email clients is that most tend to only regard inline CSS, discarding all style elements and links to stylesheets in link elements. Emogrifier solves this problem by converting CSS styles into inline style attributes in your HTML code.

Features

  • Emogrifier automagically transmogrifies your HTML
  • Parse CSS and inserting your CSS definitions into tags within your HTML based on your CSS selectors
  • The most basic way to use the CssInliner class is to create an instance with the original HTML
  • There are also some other HTML-processing classes available
  • Convert CSS styles to visual HTML attributes
  • Remove redundant content and attributes from the HTML

Project Samples

Project Activity

See All Activity >

Categories

HTML/XHTML

License

MIT License

Follow Emogrifier

Emogrifier Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Emogrifier!

Additional Project Details

Programming Language

PHP

Related Categories

PHP HTML XHTML

Registered

2023-05-02