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 multi-target 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.

System Requirements

  • Webserver IIS or Apache
  • PHP 4.0.6 or newer (recommended: 4.3.0 or better).
  • PEAR 1.4.3 or newer (since version 1.0.1).
  • PEAR::HTML_Common 1.2 or newer.
HTML_CSS : The Definitive Guide v 1.3.0 : October 22, 2007