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 '/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

Note

since 0.2.0

This function can not be called statically.

HTML_CSS : The Definitive Guide v 1.0.0 : June 24, 2006