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

You Might Also Like
Manage your IT department more effectively Icon
Manage your IT department more effectively

Streamline your business from end to end with ConnectWise PSA

ConnectWise PSA (formerly Manage) allows you to stop working in separate systems, and helps you build a more profitable business. No more duplicate data entries, inefficient employees, manual invoices, and the inability to accurately track client service issues. Get a behind the scenes look into the award-winning PSA that automates processes for each area of business: sales, help desk, support, finance, and HR.
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