PEAR logo

HTML_CSS : The Definitive Guide



Chapter 7. API - Application Programming Interface

Table of Contents

Handle selector and property values
Grouping selectors
Parsing data sources
Output

With the class constructor, you have ability to set many options :

Handle selector and property values

HTML_CSS::getStyle - Retrieves the value of a CSS property
HTML_CSS::setStyle - Sets or adds a CSS definition

Read and write single selector or even descendant selector is made easy with :

HTML_CSS : The Definitive Guide v 1.0.1 : December 21, 2006