HTML_Crypt | FAQ |
HTML | |
PEAR Manual | |
The PEAR::HTML_CSS package provides a simple interface for handling and generating cascading style sheets.
Even if a CSS file is easy to modify (text format), there is no PHP interface that provides such degree of handling style sheet declarations. Create from scratch or parsing single or multi data sources begin really so easy with HTML_CSS.
parse css string.
parse css file.
parse multiple css data sources at once.
output to inline stylesheet declarations.
output to document internal stylesheet declarations.
output to standalone stylesheet declarations.
output to Array of definitions.
output to string.
output to file.
search for selectors and/or properties using Perl-compatible pattern.
check validity of CSS data source.
support of At Rules.
Mandatory resources :
PHP 4.3.0 or newer.
PEAR 1.5.4 or newer.
PEAR::HTML_Common 1.2.4 or newer.
Optional resources :
PHP 5.0.0 or newer.
PEAR::Services_W3C_CSSValidator 0.1.0 or newer.
PHPUnit 3.2.0 or newer.
HTML_Crypt | FAQ |
HTML | |
PEAR Manual | |