May 26, 2018

PEAR class for generating CSS declarations

PEARHTML_CSS provides a simple interface for generating a stylesheet declaration. It is completely standards compliant, and has some great features

  • Simple OO interface to CSS definitions
  • Output to
    • Inline stylesheet declarations
    • Document internal stylesheet declarations
    • Standalone stylesheet declarations
    • Array of definitions

In addition, it shares the following with HTML_Common based classes

  • Indent style support
  • Line ending style

WWW https//