Login   Register  
PHP Classes
elePHPant
Icontem

CSS fix

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

  Author  
Picture of Arturs Sosins
Name: Arturs Sosins <e-mail contact>
Packages: 22 Browse all classes by Arturs Sosins Browse all classes by
Country: Latvia Latvia - PHP jobs in Latvia
Age: 25
All time rank: 1061 in Latvia Latvia
Week rank: 18 Up1 in Latvia Latvia Equal
Innovation award
Innovation award
Nominee: 13x

Winner: 2x


  Detailed description   Download .zip .tar.gz  
This class can replace CSS properties by properties with browser specific names.

It can parse a CSS definition and find CSS properties that are not yet well supported by all browsers.

The class can add browser specific properties that are equivalent to the found properties.

It also applies other fixes for different CSS browser specific definitions.

  Classes of Arturs Sosins  >  CSS fix  >  Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CSS fix
Base name: css-fix
Description: Replace CSS properties with browser specific names
Version: 1.0
PHP version: 5.0
License: BSD License
All time users: 698 users
All time rank: 4061
Week users: 4 users
Week rank: 674 Up
 
  Groups   Freshmeat project   Rate classes User ratings  
  Applications   Related links   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
April 2012
Number 3

Prize: One downloadable e-book of choice by O'Reilly
Newer browse versions often implement support to new CSS properties before any standards are defined and approved to define those properties.

When that happens those CSS properties are implemented using names that have special browser vendor prefixes.

When the actual standard define those properties, the property names are defined without the browser prefixes, and in some cases with slightly different names.

Web developers may use the standard property names but past browser versions may not recognize them.

This class implements a solution to work around that problem. It parses a CSS definition and replaces the standard property names with browser vendor original names.

This way the fixed CSS definitions may still work and more current and past browser versions.

Manuel Lemos

  Freshmeat project  
Project record: css-fix
Popularity score: 18.81
Vitality score: 18.91

  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
CSSfix documentation Documentation and example scripts in action

  Files folder image Files  
File Role Description
Plain text file CSSfix.php Class Main class source
Accessible without login Plain text file example.php Example Example reading css from file
Accessible without login Plain text file simple_example.php Example Simple example with CSS string
Accessible without login Plain text file style.css Data CSS style for example

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