PHP Classes
PHP Classes
elePHPant
Icontem

Notable PHP package: PHP CSS to Inline Styles

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Posted on:

Categories: Notable Packages

When you want to send email messages formatted as HTML, usually the mail services will filter the CSS style sheets it may use for security reasons, thus making the message be rendered in a different way than it was intended.

This package provides a solution for that. It consists in parsing the message HTML and apply the CSS stylesheets to the HTML attributes.

However, this may generate much larger HTML messages. Therefore it provides options to either remove the original CSS in the HTML file to make it small, as well remove the original style attributes from the tags and exclude media queries from the original CSS to minimize the final HTML size.

Read this article to learn more details about how this notable PHP package works.




The package PHP CSS to Inline Styles is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Convert CSS styles into HTML attribute values

Here follows in more detail what it does:

This package can convert CSS styles into HTML attribute values,

It can take a HTML document string and parses it to process CSS styles and apply them to the attributes of the document directly.

The class can optionally remove the original CSS in the HTML file or keep it, remove the original style attributes from the tags and exclude media queries from the original CSS.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

1,444,733 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)