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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
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