PEAR logo

HTML_CSS : The Definitive Guide

Name

HTML_CSS::setSameStyle — Sets or changes the properties of new selectors to the values of an existing selector

Synopsis

    require_once 'HTML/CSS.php';
   
void|PEAR_Error HTML_CSS::setSameStyle( $new,  
  $old);  
string   $new;
string   $old;

Description

This package is not documented yet.

Parameter

string $new

New selector(s) that should share the same definitions, separated by commas

string $old

Selector that is already defined

Throws

throws HTML_CSS_ERROR_INVALID_INPUT, HTML_CSS_ERROR_NO_ELEMENT

Since

Release 0.2.0 (2003-07-31)

Note

This function can not be called statically.

HTML_CSS : The Definitive Guide v 1.4.0 : December 14, 2007