Helping ordinary people create extraordinary websites!


HTML_CSS::setStyle()

HTML_CSS::setStyle() -- Set or add a CSS definition

Description

Add or change a single value for an element property

Parameter

string $element

Element (or class) to be defined

string $property

Property defined

string $value

Value assigned

boolean $duplicates

(optional) Allow or disallow duplicates.

Throws

throws HTML_CSS_ERROR_INVALID_INPUT

Since

since version 0.2.0 (2003-07-31)

Note

This function can not be called statically.