Name
HTML_CSS::setSameStyle
— Apply
same styles on two selectors
Synopsis
require_once 'HTML/CSS.php';
void|PEAR_Error HTML_CSS::setSameStyle(
|
$new,
|
|
|
$old) ;
|
|
string
|
$new;
|
string
|
$old;
|
Description
Set or change the properties of new selectors to the values of an
existing selector
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
since version 0.2.0
(2003-07-31)
Note
This function can not be called statically.