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
Earn up to 16% annual interest with Nexo. Icon
Earn up to 16% annual interest with Nexo.

Let your crypto work for you

Put idle assets to work with competitive interest rates, borrow without selling, and trade with precision. All in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
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