HTML_CSS::setSameStyle()
HTML_CSS::setSameStyle() -- Apply same styles on two selectors
Synopsis
require_once 'HTML/CSS.php'; |
void|PEAR_Error HTML_CSS::setSameStyle (string $new, string $old)
Beschreibung
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
Fehler-Meldungen
throws HTML_CSS_ERROR_INVALID_INPUT, HTML_CSS_ERROR_NO_ELEMENT
Seit
since
version 0.2.0 (2003-07-31)
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.