void|PEAR_Error HTML_CSS::setSameStyle (
string $new
, string $old
)
Set or change the properties of a new basic selector (not group) to the values of an existing selector
$new
New selector that should share the same definitions
$old
Selector that is already defined
throws HTML_CSS_ERROR_INVALID_INPUT, HTML_CSS_ERROR_NO_ELEMENT
since version 0.2.0 (2003-07-31)
This function can not be called statically.
see HTML_CSS::setStyle() , if you want only to apply the same style as a basic selector.
see HTML_CSS::createGroup() , if you want to apply the same style to a list of selectors.