Login   Register  
PHP Classes
elePHPant
Icontem

Inline Style

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Christiaan Baartse
Name: Christiaan Baartse <e-mail contact>
Packages: 4 Browse all classes by Christiaan Baartse Browse all classes by
Country: The Netherlands The Netherlands - PHP jobs in The Netherlands
Age: 27
All time rank: 175755 in The Netherlands The Netherlands
Week rank: 399 Up13 in The Netherlands The Netherlands Up
Innovation award
Innovation award
Nominee: 3x


  Detailed description   Download .zip .tar.gz  
This class can be used to apply style sheets to HTML as tag style attributes.

It parses an HTML document, finds external or inline style sections, and applies the defined styles to tags that match the defined style selectors to make the tags use style attribute instead.

  Classes of Christiaan Baartse  >  Inline Style  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Inline Style
Base name: inline-style
Description: Apply stylesheets to HTML as tag style attributes
Version: 0.1
PHP version: 5
License: MIT/X Consortium License
All time users: 491 users
All time rank: 4997
Week users: 1 user
Week rank: 2150 Up
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
April 2010
Number 9

Prize: One book of choice by Packt
CSS stylesheets can be used to define presentation details of elements in pages.

However, in certain cases it is not possible to use external CSS stylesheets to define the page presentation.

That is the case of certain Web mail systems, like for instance Gmail, that discard all stylesheets used in an HTML e-mail message.

This class provides an alternative solution for using CSS stylesheets in HTML e-mail that works even with systems that disable CSS stylesheets in the messages.

It processes the CSS stylesheets and alter the HTML to apply the styles in each page tag setting their style attributes.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
GitHub Main project page, you'll find the latest version here!

  Files folder image Files  
File Role Description
Plain text file CSSQuery.php Class Dependency for main class
Plain text file InlineStyle.php Class Main Class

Download all files: inline-style.tar.gz inline-style.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.