PEAR logo

HTML_CSS : The Definitive Guide

Why use HTML_CSS ?

Features
System Requirements

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.

Features

  • 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.

System Requirements

Mandatory resources:

  • Webserver IIS or Apache
  • PHP 4.3.0 or newer (since release 1.4.0).
  • PEAR 1.5.4 or newer (since release 1.4.0).
  • PEAR::HTML_Common 1.2.4 or newer (since release 1.4.0).

Optional resources:

HTML_CSS : The Definitive Guide v 1.5.0 : January 15, 2008