Helping ordinary people create extraordinary websites!


HTML_CSS::setSameStyle()

HTML_CSS::setSameStyle() -- Apply same styles on two selectors

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.